]> git.0d.be Git - panikdb.git/commitdiff
style: adjust alignment of weight labels/sliders/values
authorFrédéric Péters <fpeters@0d.be>
Wed, 5 Aug 2020 09:49:31 +0000 (11:49 +0200)
committerFrédéric Péters <fpeters@0d.be>
Wed, 5 Aug 2020 09:49:31 +0000 (11:49 +0200)
panikdb/static/css/style.scss

index a1d4ab7dda9027d37896f56b7cd8f6bbf1f03eb1..aa327af9bf94936a0c8c0348a8af5a62fd1c0b96 100644 (file)
@@ -666,8 +666,9 @@ table#edit-metadata {
        }
 }
 
-div[id^="id_weight"] {
+form div[id^="id_weight"] {
        display: flex;
+       align-items: center;
        div.title {
                display: inline-block;
                width: 25em;
@@ -675,6 +676,7 @@ div[id^="id_weight"] {
        div.content {
                display: inline-flex;
        }
+       margin-bottom: 0.5em;
 }
 
 div#content div.section > h3 {