1
0
mirror of https://github.com/squidfunk/mkdocs-material.git synced 2024-11-23 23:21:00 +01:00

Fixed navigation icons disappearing on hover in Safari

This commit is contained in:
squidfunk 2024-07-21 21:23:55 +02:00
parent 6b13c560f5
commit 906e966d6d
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.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 }}">

View File

@ -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;