Skip to content

Commit 1a366c8

Browse files
authored
Fixed pixelated logos on high DPI screens
Turns out that the CSS (output.css in that case) was relying on more modernizr classes (which was removed in 43d9616). The logos in particular use a modernizr class to determine whether to use an SVG or a PNG, leading to pixelated images on high resolution screens. Fixes #173
1 parent eb16ed0 commit 1a366c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

trac-env/templates/django_theme.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ <h2>${_("Context Navigation")}</h2>
8383
</head>
8484

8585
{# we don't use the modernizer js lib anymore, but the css still uses some classes from it #}
86-
<body class="mdzr-boxshadow">
86+
<body class="mdzr-boxshadow mdzr-svg">
8787
# block body
8888

8989
# include 'site_header.html' ignore missing

0 commit comments

Comments
 (0)