浏览代码

- Remove space from between checklist items, so longer checklists can be seen at once.

Thanks to xet7 !
Lauri Ojansivu 7 年之前
父节点
当前提交
1124f4120c
共有 1 个文件被更改,包括 4 次插入5 次删除
  1. 4 5
      client/components/cards/checklists.styl

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

@@ -26,7 +26,7 @@ textarea.js-add-checklist-item, textarea.js-edit-checklist-item
 
   .title
     font-size: 18px
-    line-height: 30px
+    line-height: 25px
 
   .checklist-stat
     margin: 0 0.5em
@@ -93,8 +93,8 @@ textarea.js-add-checklist-item, textarea.js-edit-checklist-item
 
 
 .checklist-item
-  margin: 0 0 0.5em 1.33em
-  line-height: 25px
+  margin: 0 0 0 0.1em
+  line-height: 14px
   font-size: 1.1em
   margin-top: 3px
   display: flex
@@ -114,7 +114,7 @@ textarea.js-add-checklist-item, textarea.js-edit-checklist-item
     background-color: darken(white, 8%)
 
   .check-box
-    margin-top: 5px
+    margin-top: 0px
     &.is-checked
       border-bottom: 2px solid #3cb500
       border-right: 2px solid #3cb500
@@ -133,5 +133,4 @@ textarea.js-add-checklist-item, textarea.js-edit-checklist-item
 
 .add-checklist-item
   margin: 0 0 0.5em 1.33em
-  padding-top: 0.5em
   display: inline-block