File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed
changelogs/internal/newsfragments Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -51,19 +51,24 @@ Custom SCSS for the Matrix spec
5151 color : $black ;
5252 }
5353
54- /* Make the version dropdown scroll if its too large */
54+ /* Make the version dropdown scroll if it's too large */
5555 ul #version-selector {
5656 max-height : 80vh ;
5757 overflow-y : auto ;
5858 }
5959
60+ /* As these styles are only applied by JavaScript, PurgeCSS doesn't see them
61+ * in the source code and removes them unless we explicitly tell it not to.
62+ */
63+ /* purgecss start ignore */
6064 ul #version-selector li .selected a {
6165 font-weight : bold ;
6266 }
6367
6468 ul #version-selector li .latest a {
6569 color : $secondary ;
6670 }
71+ /* purgecss end ignore */
6772}
6873
6974/* Styles for the sidebar nav */
Original file line number Diff line number Diff line change 1+ Add version picker in the navbar.
You can’t perform that action at this time.
0 commit comments