diff --git a/CHANGELOG.md b/CHANGELOG.md index 1e1658b..e710a7a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ +## [1.21.12](https://github.com/pengx17/logseq-dev-theme/compare/v1.21.11...v1.21.12) (2021-11-10) + + +### Bug Fixes + +* adjust priority marker positioning ([1b22af3](https://github.com/pengx17/logseq-dev-theme/commit/1b22af3c659ff2ee4951b4ba522313482cadccc2)) + ## [1.21.11](https://github.com/pengx17/logseq-dev-theme/compare/v1.21.10...v1.21.11) (2021-11-05) diff --git a/custom.css b/custom.css index ec3d20a..dbc78eb 100644 --- a/custom.css +++ b/custom.css @@ -906,7 +906,7 @@ progress::-webkit-progress-value { :root { --ct-marker-border-radius: 4px; --ct-task-done-text-decoration: none; - --ct-marker-size: 20px; + --ct-marker-size: 16px; --ct-checkbox-color: var(--ls-active-primary-color); } @@ -916,9 +916,8 @@ progress::-webkit-progress-value { border-radius: var(--ct-marker-border-radius); border: 2px solid var(--ct-checkbox-color) !important; background-color: transparent !important; - height: calc(var(--ct-marker-size) - 4px); - width: calc(var(--ct-marker-size) - 4px); - margin-top: -3px !important; + height: var(--ct-marker-size); + width: var(--ct-marker-size); } :is(.doing, .now) .form-checkbox, @@ -974,18 +973,17 @@ a.priority[href="#/page/A" i], [href="#/page/C" i] { display: inline-flex; opacity: 1 !important; - height: var(--ct-marker-size); - width: var(--ct-marker-size); } a[priority]::before, a.priority::before { + transform: translateY(-1px); border: 1px solid #eee; border-radius: var(--ct-marker-border-radius); font-size: 12px; font-weight: 600; - height: var(--ct-marker-size); - width: var(--ct-marker-size); + height: calc(var(--ct-marker-size) + 4px); + width: calc(var(--ct-marker-size) + 4px); line-height: 1.5; text-align: center; display: inline-flex; diff --git a/package.json b/package.json index 90ee966..bad87a9 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "logseq-dev-theme", "author": "pengx17", - "version": "1.21.11", + "version": "1.21.12", "description": "A custom theme for dev", "logseq": { "themes": [