Explorar o código

Move checkbox down, so it aligns at the same height like the text

Peter L %!s(int64=7) %!d(string=hai) anos
pai
achega
d2354827da
Modificáronse 1 ficheiros con 4 adicións e 1 borrados
  1. 4 1
      client/components/cards/checklists.styl

+ 4 - 1
client/components/cards/checklists.styl

@@ -114,7 +114,7 @@ textarea.js-add-checklist-item, textarea.js-edit-checklist-item
     background-color: darken(white, 8%)
 
   .check-box
-    margin-top: 0px
+    margin-top: 3px;
     &.is-checked
       border-bottom: 2px solid #3cb500
       border-right: 2px solid #3cb500
@@ -125,6 +125,9 @@ textarea.js-add-checklist-item, textarea.js-edit-checklist-item
     &.is-checked
       color: #8c8c8c
       font-style: italic
+    & .viewer
+      p
+        margin-bottom: 2px
 
 .js-delete-checklist-item
   margin: 0 0 0.5em 1.33em