mirror of
https://github.com/flarum/core.git
synced 2025-08-01 14:10:37 +02:00
* Fix blurry chrome image rendering for Avatar / Logo - closes #1259 * Add comments for Chrome css fix
This commit is contained in:
@@ -171,6 +171,8 @@
|
|||||||
.Header-logo {
|
.Header-logo {
|
||||||
max-height: 30px;
|
max-height: 30px;
|
||||||
vertical-align: middle;
|
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
|
// On phones, the header is displayed inside of the drawer. We lay its
|
||||||
|
@@ -14,6 +14,8 @@
|
|||||||
height: 100%;
|
height: 100%;
|
||||||
border-radius: 100%;
|
border-radius: 100%;
|
||||||
vertical-align: top;
|
vertical-align: top;
|
||||||
|
// Prevent blurriness in Chrome
|
||||||
|
image-rendering: -webkit-optimize-contrast;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user