浏览代码

Remove top and bottom margin for hidden checklist items

Remove top and bottom margin for hidden checklist items, otherwise there could
be a gap between unchecked items if multiple hidden/checked items were between
them.
Marc Hartmayer 5 年之前
父节点
当前提交
6e0ae161ad
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      client/components/cards/checklists.styl

+ 2 - 0
client/components/cards/checklists.styl

@@ -112,6 +112,8 @@ textarea.js-add-checklist-item, textarea.js-edit-checklist-item
     opacity: 0
     height: 0
     transition: height 0ms 0ms, opacity 600ms 0ms
+    margin-top: 0
+    margin-bottom: 0
 
   &.placeholder
     background: darken(white, 20%)