mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2026-09-03 03:50:02 +03:00
Merge pull request #7731 from thornbill/fix-sass-if
This commit is contained in:
@@ -73,7 +73,14 @@ html {
|
||||
}
|
||||
|
||||
.pageTitleWithDefaultLogo {
|
||||
background-image: if($dark, url(@jellyfin/ux-web/banner-light.png), url(@jellyfin/ux-web/banner-dark.png));
|
||||
background-image:
|
||||
if(
|
||||
/* NOTE: Stylelint seems to lack support for if() syntax currently */
|
||||
/* stylelint-disable-next-line @stylistic/function-whitespace-after */
|
||||
sass($dark): url(@jellyfin/ux-web/banner-light.png);
|
||||
/* stylelint-disable-next-line @stylistic/function-whitespace-after */
|
||||
else: url(@jellyfin/ux-web/banner-dark.png);
|
||||
);
|
||||
|
||||
.layout-tv & {
|
||||
background-image: url(@jellyfin/ux-web/icon-transparent.png);
|
||||
|
||||
Reference in New Issue
Block a user