changeset 7322:1d5145d52c30

changelog: tweak positioning of checkboxes for changeset selection Avoid the default vertical alignment on baseline. Instead align on text bottom - that makes it show up more nicely aligned with the text. Also override the Bootstrap top margin - it made the checkbox the largest element in rows and it was thus controlling the height for no good reason.
author Mads Kiilerich <mads@kiilerich.com>
date Thu, 07 Jun 2018 01:48:15 +0200
parents 6d69d2448627
children 4707d09d49a6
files kallithea/public/less/style.less
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/kallithea/public/less/style.less	Thu Jun 07 01:47:22 2018 +0200
+++ b/kallithea/public/less/style.less	Thu Jun 07 01:48:15 2018 +0200
@@ -814,6 +814,10 @@
     width: 24px;
     /* the optional second checkbox will be inline-block but should wrap to a new line */
     white-space: normal;
+    > input[type=checkbox] {
+      margin-top: inherit;
+      vertical-align: text-bottom;
+    }
   }
   .changeset-logical-index {
     color: @gray-light;