浏览代码

Checklist and Checklist-Item have now a bigger area to click (easier clickable)

Martin Filser 3 年之前
父节点
当前提交
cbf91c1869
共有 1 个文件被更改,包括 10 次插入1 次删除
  1. 10 1
      client/components/cards/checklists.styl

+ 10 - 1
client/components/cards/checklists.styl

@@ -167,4 +167,13 @@ textarea.js-add-checklist-item, textarea.js-edit-checklist-item
 
 .add-checklist-item
   margin: 0.2em 0 0.5em 1.33em
-  display: inline-block
+
+.add-checklist-item,.add-checklist
+  &.js-open-inlined-form
+    display: block
+    width: 50%
+
+    &:hover
+      background: #dbdbdb
+      color: #222
+      box-shadow: 0 1px 2px rgba(0,0,0,.2)