diff --git a/CHANGELOG.md b/CHANGELOG.md index 40d5d76..64cc0d2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ +## [1.21.16](https://github.com/pengx17/logseq-dev-theme/compare/v1.21.15...v1.21.16) (2021-11-18) + + +### Bug Fixes + +* threading styles regression for 0.4.6 ([a997d7e](https://github.com/pengx17/logseq-dev-theme/commit/a997d7e66069c2f2f710d64990e73928c0bce1af)) + ## [1.21.15](https://github.com/pengx17/logseq-dev-theme/compare/v1.21.14...v1.21.15) (2021-11-17) diff --git a/bullet_threading.css b/bullet_threading.css index 3373ba5..669ebe9 100644 --- a/bullet_threading.css +++ b/bullet_threading.css @@ -19,10 +19,12 @@ height: 14px !important; width: 14px !important; position: relative; + transform: translate(1px, -1px); } /* Block bullet path should only show in a nested block */ .ls-block { + /* Fix for headings like h1, h2 etc */ /* Basic "curve" */ /* Fix multi-line blocks with children */ } @@ -34,11 +36,17 @@ position: relative; height: 26px !important; } +.ls-block > .items-baseline { + align-items: initial; +} .ls-block:not(:focus-within) .bullet { background-color: var(--ls-block-bullet-color); transform: scale(1); box-shadow: none; } +.ls-block:not(:focus-within) > .items-baseline { + align-items: baseline; +} .ls-block .ls-block > div > div.items-center::before { pointer-events: none; content: ""; diff --git a/custom.css b/custom.css index c5a483d..8f4c3e3 100644 --- a/custom.css +++ b/custom.css @@ -383,10 +383,12 @@ a.title h1.title { height: 14px !important; width: 14px !important; position: relative; + transform: translate(1px, -1px); } /* Block bullet path should only show in a nested block */ .ls-block { + /* Fix for headings like h1, h2 etc */ /* Basic "curve" */ /* Fix multi-line blocks with children */ } @@ -398,11 +400,17 @@ a.title h1.title { position: relative; height: 26px !important; } +.ls-block > .items-baseline { + align-items: initial; +} .ls-block:not(:focus-within) .bullet { background-color: var(--ls-block-bullet-color); transform: scale(1); box-shadow: none; } +.ls-block:not(:focus-within) > .items-baseline { + align-items: baseline; +} .ls-block .ls-block > div > div.items-center::before { pointer-events: none; content: ""; diff --git a/package.json b/package.json index 0bb4229..44cf70d 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "logseq-dev-theme", "author": "pengx17", - "version": "1.21.15", + "version": "1.21.16", "description": "A custom theme for dev", "logseq": { "themes": [