style: refine empty elements to exclude specific overlays, improving layout responsiveness

This commit is contained in:
Zack Spear
2025-05-19 15:22:10 -07:00
parent 74cca25868
commit 5ded3e65c1

View File

@@ -1517,7 +1517,7 @@ dd blockquote {
* Force remove any small empty space elements.
* Necessary evil to prevent needing to rewrite .page file parsing and allow for a more responsive page.
*/
dt, dd, p, div, span {
dt, dd, p, div:not([class*="sweet-overlay"]), span {
&:empty {
display: none !important;
margin: 0 !important;