From 6e0ae161adda76b12370fd0b9b6049f0d222e612 Mon Sep 17 00:00:00 2001 From: Marc Hartmayer Date: Sun, 14 Jun 2020 21:28:28 +0200 Subject: 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. --- client/components/cards/checklists.styl | 2 ++ 1 file changed, 2 insertions(+) (limited to 'client') diff --git a/client/components/cards/checklists.styl b/client/components/cards/checklists.styl index 0f4e7d33..e9b0fcd8 100644 --- a/client/components/cards/checklists.styl +++ b/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%) -- cgit v1.2.3-1-g7c22