From 814164e53e87c5adbd1cc3a2e8f6bad57b77d037 Mon Sep 17 00:00:00 2001 From: Peter Lampesberger Date: Wed, 2 May 2018 14:43:47 +0200 Subject: Change checklist-item line-height to 18px. Fixes #1619 --- client/components/cards/checklists.styl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'client') diff --git a/client/components/cards/checklists.styl b/client/components/cards/checklists.styl index e9a6d807..de556caf 100644 --- a/client/components/cards/checklists.styl +++ b/client/components/cards/checklists.styl @@ -94,7 +94,7 @@ textarea.js-add-checklist-item, textarea.js-edit-checklist-item .checklist-item margin: 0 0 0 0.1em - line-height: 14px + line-height: 18px font-size: 1.1em margin-top: 3px display: flex -- cgit v1.2.3-1-g7c22 From d2354827da2153e903e6a93c31753092847ac186 Mon Sep 17 00:00:00 2001 From: Peter L Date: Wed, 2 May 2018 15:16:27 +0200 Subject: Move checkbox down, so it aligns at the same height like the text --- client/components/cards/checklists.styl | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'client') diff --git a/client/components/cards/checklists.styl b/client/components/cards/checklists.styl index de556caf..823e5337 100644 --- a/client/components/cards/checklists.styl +++ b/client/components/cards/checklists.styl @@ -114,7 +114,7 @@ textarea.js-add-checklist-item, textarea.js-edit-checklist-item background-color: darken(white, 8%) .check-box - margin-top: 0px + margin-top: 3px; &.is-checked border-bottom: 2px solid #3cb500 border-right: 2px solid #3cb500 @@ -125,6 +125,9 @@ textarea.js-add-checklist-item, textarea.js-edit-checklist-item &.is-checked color: #8c8c8c font-style: italic + & .viewer + p + margin-bottom: 2px .js-delete-checklist-item margin: 0 0 0.5em 1.33em -- cgit v1.2.3-1-g7c22 From f6656a47917a74affa9c04d7c062a6c96d1f6670 Mon Sep 17 00:00:00 2001 From: Peter L Date: Wed, 2 May 2018 15:32:53 +0200 Subject: Changed px to em and added margin for add-checklist-item link --- client/components/cards/checklists.styl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'client') diff --git a/client/components/cards/checklists.styl b/client/components/cards/checklists.styl index 823e5337..d48c1851 100644 --- a/client/components/cards/checklists.styl +++ b/client/components/cards/checklists.styl @@ -114,7 +114,7 @@ textarea.js-add-checklist-item, textarea.js-edit-checklist-item background-color: darken(white, 8%) .check-box - margin-top: 3px; + margin: 0.1em 0 0 0; &.is-checked border-bottom: 2px solid #3cb500 border-right: 2px solid #3cb500 @@ -135,5 +135,5 @@ textarea.js-add-checklist-item, textarea.js-edit-checklist-item padding: 12px 0 0 0 .add-checklist-item - margin: 0 0 0.5em 1.33em + margin: 0.2em 0 0.5em 1.33em display: inline-block -- cgit v1.2.3-1-g7c22