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:
parent
6b13c560f5
commit
906e966d6d
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
1
material/templates/assets/stylesheets/main.edfe95cc.min.css
vendored
Normal file
1
material/templates/assets/stylesheets/main.edfe95cc.min.css
vendored
Normal file
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 %}
|
||||
{% 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 }}">
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user