yoyurec / logseq-awesome-styler

🎨 Totally customizable theme with presets: colors, backgrounds, fonts and sizes, etc... Logseq plugin
MIT License
183 stars 9 forks source link

[bug] Block References headers size #20

Closed debanjandhar12 closed 2 years ago

debanjandhar12 commented 2 years ago

Info:

Bug Description: Block References containing headers retain their size. image

Expected behavior: The bellow image shows how block reference containing headers are handed in default theme. The same behavior is there in Dev Theme as well. image

NB: Thanks for the theme! Love this ❤️

yoyurec commented 2 years ago

So you want to hide h3 label? BTW, Dev theme have it image

debanjandhar12 commented 2 years ago

So you want to hide h3 label? BTW, Dev theme have it

No. I want all the header levels when used as block reference to be of the same size as the other text in the block. Talking in terms of css:

/* Source: https://github.com/logseq/logseq/blob/81904156f864a2416b8c5f8825b3d7885cea1539/src/main/frontend/components/block.css#L411 */
/* NB: It should be em not rem as used in source. If rem is used then the font-size wont adjust to the parent. */
.block-ref :is(h1, h2, h3, h4, h5, h6) {
  border-bottom: none;
  font-size: 1em;
}
yoyurec commented 2 years ago

https://github.com/yoyurec/logseq-solarized-extended-theme/releases/tag/v1.12.5 fixed