浏览代码

Merge pull request #3172 from marc1006/margin_fix

Remove top and bottom margin for hidden checklist items
Lauri Ojansivu 5 年之前
父节点
当前提交
82b0bd9ddb
共有 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%)