diff --git a/CHANGELOG.md b/CHANGELOG.md index f056135..f3d1a3b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ +## [1.26.17](https://github.com/pengx17/logseq-dev-theme/compare/v1.26.16...v1.26.17) (2023-05-13) + + +### Bug Fixes + +* fix block fold button on mobile ([6b5a150](https://github.com/pengx17/logseq-dev-theme/commit/6b5a1503e15a98f20fc4c74b7916139e34c23ff8)) + ## [1.26.16](https://github.com/pengx17/logseq-dev-theme/compare/v1.26.15...v1.26.16) (2023-02-18) diff --git a/bullet_threading.css b/bullet_threading.css index aae1da3..66f297b 100644 --- a/bullet_threading.css +++ b/bullet_threading.css @@ -61,7 +61,7 @@ background-color: var(--ls-block-bullet-active-color); box-shadow: 0 0 0 1px var(--ls-block-bullet-active-color); } -.ls-block div.items-center { +.ls-block div.block-control-wrap { position: relative; height: 26px !important; } @@ -80,7 +80,7 @@ pointer-events: none; content: ""; left: calc(var(--ls-block-bullet-threading-width) * -1); - right: 6px; + right: 20px; top: calc(-50% + var(--ls-block-bullet-threading-width) * 0.5 - 1px); bottom: 50%; /* shift left 1px for border */ @@ -112,7 +112,7 @@ content: ""; top: 12px; bottom: 0; - left: -15px; + left: -21px; position: absolute; border-left: var(--ls-block-bullet-threading-width) solid transparent; } diff --git a/package.json b/package.json index c2d7c74..c7f8768 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "logseq-dev-theme", "author": "pengx17", - "version": "1.26.16", + "version": "1.26.17", "description": "A custom theme for dev", "logseq": { "themes": [ diff --git a/src/bullet_threading.scss b/src/bullet_threading.scss index 40d3aa3..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; @@ -84,7 +89,7 @@ pointer-events: none; content: ""; left: calc(var(--ls-block-bullet-threading-width) * -1); - right: 6px; + right: 20px; top: calc(-50% + var(--ls-block-bullet-threading-width) * 0.5 - 1px); bottom: 50%; /* shift left 1px for border */ @@ -123,7 +128,7 @@ content: ""; top: 12px; bottom: 0; - left: -15px; + left: -21px; position: absolute; border-left: var(--ls-block-bullet-threading-width) solid transparent; }