changeset 6489:2a7ab8d98824

css: fix vertical alignment in repo and PR summaries etc. In several table-like layouts (not actual HTML tables) with separate "label" and "value" columns, this 10px margin-top (which only applies to the "value") caused the "cells" to be out of alignment: - The repository summary (clone URL, description, etc.) - The pull request "summary" (description, origin, target, etc.) - Settings pages of all sorts
author Søren Løvborg <sorenl@unity3d.com>
date Tue, 14 Feb 2017 20:16:47 +0100
parents 9ee5e055514e
children 5b40eb88a46d
files kallithea/public/css/style.css
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/kallithea/public/css/style.css	Tue Feb 14 21:19:46 2017 +0100
+++ b/kallithea/public/css/style.css	Tue Feb 14 20:16:47 2017 +0100
@@ -844,7 +844,7 @@
 
 #content div.panel div.form div.form-horizontal div.form-group > div.summary,
 #content div.panel div.form div.form-horizontal div.form-group > div.summary-short {
-    margin: 10px 20px 10px 110px;
+    margin: 0 20px 10px 110px;
 }
 #content div.panel div.form div.form-horizontal div.form-group > div.summary-short input {
     margin: 0;
@@ -3190,7 +3190,7 @@
 }
 
 #content div.panel div.form div.form-horizontal div.form-group > div {
-    margin: 10px 20px 10px 200px;
+    margin: 0 20px 10px 200px;
     padding: 0;
 }