浏览代码

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