Skip to content

Commit

Permalink
excol: Explicitly hide collapsed children for openHiddenNodes to work (
Browse files Browse the repository at this point in the history
…#109)

(This is implemented to work around a change in Firefox 130)
  • Loading branch information
kfranqueiro authored Sep 30, 2024
1 parent c0339e4 commit f34de09
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
8 changes: 8 additions & 0 deletions _components/excol/excol.css
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,14 @@ details > div::after {
clear: both;
}

/*
Firefox 130 does not zero out collapsed content's dimensions.
Work around this to preserve behavior of openHiddenNodes.
*/
details:not([open]) > summary ~ * {
display: none;
}

.excol-all {
margin: 16px 0;
}
2 changes: 1 addition & 1 deletion assets/css/style.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/css/style.css.map

Large diffs are not rendered by default.

0 comments on commit f34de09

Please sign in to comment.