diff --git a/CHANGELOG.md b/CHANGELOG.md index 0c53464..5f6e177 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ +## [1.15.5](https://github.com/pengx17/logseq-dev-theme/compare/v1.15.4...v1.15.5) (2021-07-28) + + +### Bug Fixes + +* block hovering selector fix ([9313735](https://github.com/pengx17/logseq-dev-theme/commit/9313735a95d2bcb5b2eabd430b38767f54c44889)) + ## [1.15.4](https://github.com/pengx17/logseq-dev-theme/compare/v1.15.3...v1.15.4) (2021-07-28) diff --git a/custom.css b/custom.css index 7dfe44d..b5938b8 100644 --- a/custom.css +++ b/custom.css @@ -437,19 +437,19 @@ a:hover > .bullet-container .bullet { transform: scale(1); } -.block-content > span > span > [id] { +.block-content-wrapper > div > .block-content > span > span > :first-of-type { position: relative; } -.block-content > span > span > [id]::before { +.block-content-wrapper > div > .block-content > span > span > :first-of-type::before { content: ""; display: block; position: absolute; width: 4px; - height: 40%; - top: 30%; + height: 12px; + top: calc(50% - 6px); left: -8px; } -.block-content:hover > span > span > [id]::before { +.block-content-wrapper > div > .block-content:hover > span > span > :first-of-type::before { background: var(--ct-primary-color); } diff --git a/package.json b/package.json index 48444f5..0fb17f2 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "logseq-dev-theme", "author": "pengx17", - "version": "1.15.4", + "version": "1.15.5", "description": "A custom theme for dev", "logseq": { "themes": [