From 45877953382b7cb5efbb67cb2a00311a50e284b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julius=20H=C3=A4rtl?= Date: Tue, 29 Aug 2023 19:16:13 +0200 Subject: [PATCH] fix: Use regular flex layout for checkboxes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Julius Härtl --- src/css/prosemirror.scss | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/css/prosemirror.scss b/src/css/prosemirror.scss index d3db5c16c95..4a058fc90f8 100644 --- a/src/css/prosemirror.scss +++ b/src/css/prosemirror.scss @@ -46,8 +46,6 @@ div.ProseMirror { .checkbox-item { display: flex; align-items: start; - // Left-align with list item text - margin-left: -23px; input[type=checkbox] { display: none; @@ -57,7 +55,6 @@ div.ProseMirror { vertical-align: middle; margin: 3px 6px 3px 2px; border: 1px solid var(--color-text-maxcontrast); - position: relative; display: block; border-radius: var(--border-radius); height: 14px; @@ -82,7 +79,6 @@ div.ProseMirror { display: block; flex-grow: 1; max-width: calc(100% - 28px); - margin-left: 9px; } }