Skip to content

Commit 0b22e78

Browse files
committed
Fixed default details marker showing due to Safari bug
1 parent cc04dde commit 0b22e78

File tree

6 files changed

+9
-7
lines changed

6 files changed

+9
-7
lines changed

material/assets/stylesheets/main.816931ca.min.css renamed to material/assets/stylesheets/main.62128196.min.css

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

material/assets/stylesheets/main.62128196.min.css.map

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

material/assets/stylesheets/main.816931ca.min.css.map

Lines changed: 0 additions & 1 deletion
This file was deleted.

material/base.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
{% endif %}
3535
{% endblock %}
3636
{% block styles %}
37-
<link rel="stylesheet" href="{{ 'assets/stylesheets/main.816931ca.min.css' | url }}">
37+
<link rel="stylesheet" href="{{ 'assets/stylesheets/main.62128196.min.css' | url }}">
3838
{% if config.theme.palette %}
3939
{% set palette = config.theme.palette %}
4040
<link rel="stylesheet" href="{{ 'assets/stylesheets/palette.9204c3b2.min.css' | url }}">

material/partials/languages/sv.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,6 @@
3333
"source.file.date.updated": "Senaste uppdaterad",
3434
"source.file.date.created": "Skapad",
3535
"tabs.title": "Flikar",
36-
"toc.title": "Innehållsförteckning"
36+
"toc.title": "Innehållsförteckning",
3737
"top.title": "Tillbaka till toppen"
3838
}[key] }}{% endmacro %}

src/assets/stylesheets/main/extensions/pymdownx/_details.scss

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,8 +109,10 @@
109109
}
110110
}
111111

112-
// Hide native details marker
113-
&:is(::marker, ::-webkit-details-marker) {
112+
// Hide native details marker - Safari (iOS and macOS) does not seem to
113+
// like :is() on details elements, so just go with a selector list.
114+
&::marker,
115+
&::-webkit-details-marker {
114116
display: none;
115117
}
116118
}

0 commit comments

Comments
 (0)