1
0
mirror of https://github.com/flarum/core.git synced 2025-07-30 21:20:24 +02:00

Fix blurry chrome image rendering for Avatar / Logo - closes #1259 (#1276)

* Fix blurry chrome image rendering for Avatar / Logo - closes #1259

* Add comments for Chrome css fix
This commit is contained in:
Mark
2017-10-30 02:54:02 +10:30
committed by Franz Liedke
parent cf9a7f141a
commit 244280ae05
2 changed files with 4 additions and 0 deletions

View File

@@ -171,6 +171,8 @@
.Header-logo {
max-height: 30px;
vertical-align: middle;
// Prevent blurriness in Chrome
image-rendering: -webkit-optimize-contrast;
}
// On phones, the header is displayed inside of the drawer. We lay its

View File

@@ -14,6 +14,8 @@
height: 100%;
border-radius: 100%;
vertical-align: top;
// Prevent blurriness in Chrome
image-rendering: -webkit-optimize-contrast;
}
}