Fixed default details marker showing due to Safari bug

This commit is contained in:
squidfunk 2021-12-02 15:02:32 +01:00
parent cc04ddead0
commit 0b22e78832
6 changed files with 9 additions and 7 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -34,7 +34,7 @@
{% endif %}
{% endblock %}
{% block styles %}
<link rel="stylesheet" href="{{ 'assets/stylesheets/main.816931ca.min.css' | url }}">
<link rel="stylesheet" href="{{ 'assets/stylesheets/main.62128196.min.css' | url }}">
{% if config.theme.palette %}
{% set palette = config.theme.palette %}
<link rel="stylesheet" href="{{ 'assets/stylesheets/palette.9204c3b2.min.css' | url }}">

View File

@ -33,6 +33,6 @@
"source.file.date.updated": "Senaste uppdaterad",
"source.file.date.created": "Skapad",
"tabs.title": "Flikar",
"toc.title": "Innehållsförteckning"
"toc.title": "Innehållsförteckning",
"top.title": "Tillbaka till toppen"
}[key] }}{% endmacro %}

View File

@ -109,8 +109,10 @@
}
}
// Hide native details marker
&:is(::marker, ::-webkit-details-marker) {
// Hide native details marker - Safari (iOS and macOS) does not seem to
// like :is() on details elements, so just go with a selector list.
&::marker,
&::-webkit-details-marker {
display: none;
}
}