Skip to content

Commit

Permalink
Fixed rendering glitch when hovering contributor avatar
Browse files Browse the repository at this point in the history
  • Loading branch information
squidfunk committed Apr 15, 2024
1 parent 4eb1a43 commit 851e5bb
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 3 deletions.

This file was deleted.

This file was deleted.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion material/templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}">
Expand Down
3 changes: 3 additions & 0 deletions src/templates/assets/stylesheets/main/components/_author.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 851e5bb

Please sign in to comment.