Fixed rendering glitch when hovering contributor avatar

This commit is contained in:
squidfunk 2024-04-15 14:19:25 +07:00
parent 4eb1a43937
commit 851e5bb194
No known key found for this signature in database
GPG Key ID: 5ED40BC4F9C436DF
6 changed files with 6 additions and 3 deletions

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

View File

@ -44,7 +44,7 @@
{% endif %}
{% endblock %}
{% 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 %}
{% set palette = config.theme.palette %}
<link rel="stylesheet" href="{{ 'assets/stylesheets/palette.06af60db.min.css' | url }}">

View File

@ -69,6 +69,9 @@
// Author image
img {
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;
}