styles: Fix invalid CSS generated due to @extend misusage.

@extend can only be used in an element selector, not directly within
@media.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg 2024-09-18 11:00:02 -07:00 committed by Tim Abbott
parent dc6ba1c9e2
commit 2c8ad219b1
1 changed files with 3 additions and 1 deletions

View File

@ -500,7 +500,9 @@
}
@media not screen {
:root {
@extend %light-theme;
}
}
@media screen {