ソースを参照

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

Peter L 7 年 前
コミット
d2354827da
1 ファイル変更4 行追加1 行削除
  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