Fixed rendering glitch when hovering contributor avatar
This commit is contained in:
parent
4eb1a43937
commit
851e5bb194
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -44,7 +44,7 @@
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
{% block styles %}
|
{% block styles %}
|
||||||
<link rel="stylesheet" href="{{ 'assets/stylesheets/main.0c628eb8.min.css' | url }}">
|
<link rel="stylesheet" href="{{ 'assets/stylesheets/main.8b0efcb2.min.css' | url }}">
|
||||||
{% if config.theme.palette %}
|
{% if config.theme.palette %}
|
||||||
{% set palette = config.theme.palette %}
|
{% set palette = config.theme.palette %}
|
||||||
<link rel="stylesheet" href="{{ 'assets/stylesheets/palette.06af60db.min.css' | url }}">
|
<link rel="stylesheet" href="{{ 'assets/stylesheets/palette.06af60db.min.css' | url }}">
|
||||||
|
|
|
||||||
|
|
@ -69,6 +69,9 @@
|
||||||
// Author image
|
// Author image
|
||||||
img {
|
img {
|
||||||
filter: grayscale(100%) opacity(75%);
|
filter: grayscale(100%) opacity(75%);
|
||||||
|
// Hack: also apply this here, in order to mitigate browser glitches in
|
||||||
|
// Chrome and Edge when hovering the avatar - see https://t.ly/Q3ECC
|
||||||
|
border-radius: 100%;
|
||||||
transition: filter 125ms;
|
transition: filter 125ms;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue