ainom
August 7, 2023, 9:12pm
1
This is a bug in 1.8.5 (maybe others).
Theme styles are being overwritten by some phantom stylesheets in the editor. While it’s fine on the front end, in the editor it looks wrong so it’s not easy to tell if the style has not been properly set by me or if it’s a bug in the builder (it’s the latter)
I have set the line height of headings to 0.9:
In the builder all H1 and H2 elements have a rule that sets the line height to 1.4, overriding the theme style that has been set:
timmse
August 8, 2023, 7:43am
2
Hi Eric,
Thanks for your report.
The problem has already been reported:
Browser: Chrome 115
OS: macOS
Hello Bricks team!
Since v1.8.4, in the editor, Bricks uses a :where() pseudo class to output the values from the theme styles > typography > all headings settings.
v1.8.3 and below:
h1, h2, h3, h4, h5, h6 {
line-height: var(--o-font-lineheight-1);
font-size: var(--o-fluid-font);
font-family: var(--o-font-sans);
}
Since v1.8.4
:where(h1, h2, h3, h4, h5, h6) {
line-height: var(--o-font-lineheight-1);
font-size: var(--o-fluid-font)…
I’ll close this thread accordingly.
Best regards,
timmse