The suggested code which should revert the styles does not work for me h1,h2,h3,h4,h5,h6 { margin-top: 1.25em; } h1 { margin-bottom: 0.75em; } h2, h3, h4 { margin-bottom: 0.5em; } h5 { margin-bottom: 0.25em; }
Yeah it is because of this definition in the bundle :where(h1, h2, h3, h4, h5, h6) { font-weight: 600; line-height: var(--lumo-line-height-xs); margin: 0; }
The suggested code which should revert the code does not include left and right margins h1,h2,h3,h4,h5,h6 { margin-top: 1.25em; } h1 { margin-bottom: 0.75em; } h2, h3, h4 { margin-bottom: 0.5em; } h5 { margin-bottom: 0.25em; }
Interesting, normally where has less precision and shouldn’t interfere it… could this be related to the ordering - e.g. is the dev bundle loaded after the styles.css? There was such problems in early beta versions but that was fixed to 24.0.0 as far as I know
If you had applied custom left and right margins on them, those should still apply since the new defaults use :where and thus should have lower specificity than your own styles