diff --git a/CHANGELOG.md b/CHANGELOG.md index 8cf1229..f3c0965 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,17 @@ +## [1.26.15](https://github.com/pengx17/logseq-dev-theme/compare/v1.26.14...v1.26.15) (2022-12-14) + + +### Bug Fixes + +* **scheduled:** add space between content, time cost and scheduled date when references ([52a9a15](https://github.com/pengx17/logseq-dev-theme/commit/52a9a15e9085664788a219822a58b64956f9c857)) + +## [1.26.14](https://github.com/pengx17/logseq-dev-theme/compare/v1.26.13...v1.26.14) (2022-12-14) + + +### Bug Fixes + +* **blocks:** code block references are not displayed properly ([4c62445](https://github.com/pengx17/logseq-dev-theme/commit/4c62445b03ee0e2e84b4c6d3d640cb953695a37d)) + ## [1.26.13](https://github.com/pengx17/logseq-dev-theme/compare/v1.26.12...v1.26.13) (2022-11-07) diff --git a/custom.css b/custom.css index 4264c4c..c47babf 100644 --- a/custom.css +++ b/custom.css @@ -547,6 +547,10 @@ a.title h1.title { display: inline; } +.block-ref .block-body > .cp__fenced-code-block div { + display: block !important; +} + .block-ref .flex.flex-row.justify-between { display: inline; } @@ -695,6 +699,17 @@ a:hover > .bullet-container .bullet { transform: scale(0.9); } +.block-ref a.fade-link::before, .block-ref a.fade-link::after, +.block-ref .timestamp .opacity-80::before, .block-ref .timestamp .opacity-80::after { + content: " "; +} + +.block-ref a.fade-link, +.block-ref .timestamp-label, +.block-ref .timestamp .opacity-80 { + font-size: 75% !important; +} + /* embed */ .embed, .embed-page, diff --git a/no_bullet_threading.css b/no_bullet_threading.css index 1223e3e..6a9d3a7 100644 --- a/no_bullet_threading.css +++ b/no_bullet_threading.css @@ -404,6 +404,10 @@ a.title h1.title { display: inline; } +.block-ref .block-body > .cp__fenced-code-block div { + display: block !important; +} + .block-ref .flex.flex-row.justify-between { display: inline; } @@ -552,6 +556,17 @@ a:hover > .bullet-container .bullet { transform: scale(0.9); } +.block-ref a.fade-link::before, .block-ref a.fade-link::after, +.block-ref .timestamp .opacity-80::before, .block-ref .timestamp .opacity-80::after { + content: " "; +} + +.block-ref a.fade-link, +.block-ref .timestamp-label, +.block-ref .timestamp .opacity-80 { + font-size: 75% !important; +} + /* embed */ .embed, .embed-page, diff --git a/package.json b/package.json index 4913309..df51c28 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "logseq-dev-theme", "author": "pengx17", - "version": "1.26.13", + "version": "1.26.15", "description": "A custom theme for dev", "logseq": { "themes": [ diff --git a/src/_blocks.scss b/src/_blocks.scss index 03e66ed..f33264e 100644 --- a/src/_blocks.scss +++ b/src/_blocks.scss @@ -35,6 +35,10 @@ display: inline; } +.block-ref .block-body > .cp__fenced-code-block div { + display: block !important; +} + .block-ref .flex.flex-row.justify-between { display: inline; } @@ -194,3 +198,16 @@ a:hover > .bullet-container .bullet { opacity: 0.6 !important; transform: scale(0.9); } + +// https://github.com/pengx17/logseq-dev-theme/issues/77 +// add space between content, time cost and scheduled date when references +.block-ref a.fade-link::before, .block-ref a.fade-link::after, +.block-ref .timestamp .opacity-80::before, .block-ref .timestamp .opacity-80::after { + content: " "; +} + +.block-ref a.fade-link, +.block-ref .timestamp-label, +.block-ref .timestamp .opacity-80 { + font-size: 75% !important; +}