From 6b5a1503e15a98f20fc4c74b7916139e34c23ff8 Mon Sep 17 00:00:00 2001 From: zhicheng Date: Sat, 13 May 2023 11:22:58 +0800 Subject: [PATCH] fix: fix block fold button on mobile --- src/_blocks.scss | 10 +++++++--- src/bullet_threading.scss | 13 +++++++++---- 2 files changed, 16 insertions(+), 7 deletions(-) diff --git a/src/_blocks.scss b/src/_blocks.scss index 72e6448..d85407f 100644 --- a/src/_blocks.scss +++ b/src/_blocks.scss @@ -84,9 +84,13 @@ a:hover > .bullet-container .bullet { margin-left: 0 !important; } -.ls-block div.items-center { - position: relative; - height: 26px !important; +// .ls-block div.items-center { +// position: relative; +// height: 26px !important; +// } +.ls-block div.block-control-wrap { + position: relative; + height: 26px !important; } // hovering block indicator diff --git a/src/bullet_threading.scss b/src/bullet_threading.scss index 508227f..c211629 100644 --- a/src/bullet_threading.scss +++ b/src/bullet_threading.scss @@ -59,11 +59,16 @@ box-shadow: 0 0 0 1px var(--ls-block-bullet-active-color); } - div.items-center { - position: relative; - height: 26px !important; +// div.items-center { +// position: relative; +// height: 26px !important; +// } + + div.block-control-wrap { + position: relative; + height: 26px !important; } - + /* Fix for headings like h1, h2 etc */ > .items-baseline { align-items: initial;