Skip to content

Commit

Permalink
Fixed navigation icons disappearing on hover in Safari
Browse files Browse the repository at this point in the history
  • Loading branch information
squidfunk committed Jul 21, 2024
1 parent 6b13c56 commit 906e966
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.76a95c52.min.css' | url }}">
<link rel="stylesheet" href="{{ 'assets/stylesheets/main.edfe95cc.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/_nav.scss
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,9 @@

// Navigation link icon
svg {
// Hack: Safari has another bug where SVGs disappear on hover - same fix
// as above via `position: relative` - see https://bit.ly/3HljM1T
position: relative;
flex-shrink: 0;
height: 1.3em;
fill: currentcolor;
Expand Down

0 comments on commit 906e966

Please sign in to comment.