diff --git a/CHANGELOG.md b/CHANGELOG.md index 6201f15..037dbaf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ +## [1.23.11](https://github.com/pengx17/logseq-dev-theme/compare/v1.23.10...v1.23.11) (2022-01-11) + + +### Bug Fixes + +* left sidebar styles ([bcf387e](https://github.com/pengx17/logseq-dev-theme/commit/bcf387ec62a7bb0491d6d940d03dbf118583b38b)) + ## [1.23.10](https://github.com/pengx17/logseq-dev-theme/compare/v1.23.9...v1.23.10) (2022-01-11) diff --git a/custom.css b/custom.css index 68c8bf4..3a71f5f 100644 --- a/custom.css +++ b/custom.css @@ -206,6 +206,32 @@ i { margin-top: 0.5em; } +#left-sidebar { + height: 100%; + padding-top: var(--ct-header-height); +} + +.left-sidebar-inner { + height: 100%; +} + +.left-sidebar-inner > .wrap { + margin-top: 0; + padding-top: 12px; + padding-bottom: 12px; + height: calc(100% - var(--ct-header-height)); +} + +.left-sidebar-inner a.item > span { + transform: translateY(2px); + margin-top: 0; +} + +.left-sidebar-inner .new-page { + position: absolute; + bottom: 0; +} + .left-sidebar-inner .nav-content-item { font-size: 0.875rem; font-weight: 500; @@ -306,11 +332,7 @@ a.title h1.title { } #repo-name { - /* Show the last part of the repo instead */ - direction: rtl; - text-align: left; - max-width: 120px; - line-height: 1.5; + max-width: 150px; } .cp__right-sidebar-settings a { diff --git a/package.json b/package.json index ed67ced..07790c6 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "logseq-dev-theme", "author": "pengx17", - "version": "1.23.10", + "version": "1.23.11", "description": "A custom theme for dev", "logseq": { "themes": [