From bb8f87b98820f66ed73aec68f2c2245c93153bf0 Mon Sep 17 00:00:00 2001 From: Chris Grieser <73286100+chrisgrieser@users.noreply.github.com> Date: Mon, 13 May 2024 11:14:25 +0200 Subject: [PATCH] fix: indent in dataview tasks --- theme.css | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/theme.css b/theme.css index 431cb238..e12dae2b 100644 --- a/theme.css +++ b/theme.css @@ -4091,19 +4091,12 @@ body .setting-item.setting-item.setting-item.setting-item[data-id="author-info"] /* less indentation to save space */ :is(.block-language-dataview, .block-language-dataviewjs) ul.contains-task-list { - --list-indent: 1.2em; -} - -.is-live-preview :is(.block-language-dataview, .block-language-dataviewjs) ul.contains-task-list { + --list-indent: 0.3em; padding-inline-start: 0; } -:is(.block-language-dataview, .block-language-dataviewjs) .result-group { - padding-left: 0; -} - -.result-group .dataview.task-list-item-checkbox { - margin-inline-start: 0.3em; +.contains-task-list .dataview.task-list-item-checkbox { + margin-inline: 0 0.5em; } pre.dataview-error::before {