changeset 7603:0e8e55f954be

style: avoid double horizontal padding inside panel-body Only give inline-comments padding if they actually appear inside a diff. General comments already have padding from .panel-body. Drop padding on changesets columns (next to graphs). The graph already has space, and .panel-body gives spacing to the right. Drop extra column padding for repo and PR summaries that use columns. The columns already have some padding from .panel-body.
author Mads Kiilerich <mads@kiilerich.com>
date Fri, 22 Mar 2019 02:14:36 +0100
parents c7d9141b2576
children ad5f5906e340
files kallithea/front-end/style.less
diffstat 1 files changed, 7 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/kallithea/front-end/style.less	Fri Mar 22 02:04:31 2019 +0100
+++ b/kallithea/front-end/style.less	Fri Mar 22 02:14:36 2019 +0100
@@ -540,8 +540,8 @@
   top: 4px;
   margin: -10px 2px 0;
 }
-/** comment inline **/
-.inline-comments {
+/** indent actual inline comments - not general comments **/
+td.inline-comments {
   padding: 5px;
 }
 .inline-comments .comments-number {
@@ -692,6 +692,7 @@
 #updaterevs-table {
   .make-xs-column-offset(1);
   .make-xs-column(11);
+  padding: 0;
 }
 
 /* use bootstrap grid columns for centered columns */
@@ -753,6 +754,7 @@
   max-width: @container-md;
   .form-horizontal;
   .make-sm-column(10);
+  padding-left: 0;
   .form-group > label {
     .make-sm-column(2);
   }
@@ -762,11 +764,13 @@
 }
 #summary-menu-stats {
   .make-sm-column(2);
+  padding-right: 0;
 }
 
 /* use columns and form-horizontal for pull request page */
 .pr-box {
   .make-sm-column(9);
+  padding-left: 0;
   max-width: @container-md;
   #pr-summary {
     .form-horizontal;
@@ -784,6 +788,7 @@
 }
 .pr-reviewers-box {
   .make-sm-column(3);
+  padding-right: 0;
 }
 
 /* repo table icons */