mirror of
https://github.com/matrix-org/matrix-spec
synced 2025-12-27 11:28:38 +01:00
Try to prevent PostCSS from stripping comments that are meant to prevent PurgeCSS from stripping our version picker CSS
Signed-off-by: Johannes Marbach <n0-0ne+github@mailbox.org>
This commit is contained in:
parent
705240da72
commit
461d7a6883
|
|
@ -59,8 +59,10 @@ Custom SCSS for the Matrix spec
|
|||
|
||||
/* As these styles are only applied by JavaScript, PurgeCSS doesn't see them
|
||||
* in the source code and removes them unless we explicitly tell it not to.
|
||||
* We use /*! so that PostCSS doesn't strip the comments before PurgeCSS can
|
||||
* see them.
|
||||
*/
|
||||
/* purgecss start ignore */
|
||||
/*! purgecss start ignore */
|
||||
ul#version-selector li.selected a {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
|
@ -68,7 +70,7 @@ Custom SCSS for the Matrix spec
|
|||
ul#version-selector li.latest a {
|
||||
color: $secondary;
|
||||
}
|
||||
/* purgecss end ignore */
|
||||
/*! purgecss end ignore */
|
||||
}
|
||||
|
||||
/* Styles for the sidebar nav */
|
||||
|
|
|
|||
1
changelogs/internal/newsfragments/2263.clarification
Normal file
1
changelogs/internal/newsfragments/2263.clarification
Normal file
|
|
@ -0,0 +1 @@
|
|||
Add version picker in the navbar.
|
||||
Loading…
Reference in a new issue