Show expander arrow for all browsers

The polyfill we use for details/summary only renders the arrow if the
browser doesn’t natively support the feature.

The latest versions of Firefox _do_ now support the feature (after 5
years), but for some reason they don’t draw the arrow. So this commit
forces the arrow to be polyfilled in all browsers, and hides the browser
default one, for those browsers that do render it.
This commit is contained in:
Chris Hill-Scott
2016-10-12 15:55:53 +01:00
parent c13f1aa5d1
commit f561bfe603
2 changed files with 33 additions and 13 deletions

View File

@@ -192,3 +192,25 @@ details summary {
.tabular-numbers {
@include core-19($tabular-numbers: true);
}
summary::-moz-details-marker {
display: none;
}
summary::-ms-details-marker {
display: none;
}
summary::-o-details-marker {
display: none;
}
summary::details-marker {
display: none;
}
summary::-webkit-details-marker {
display: none;
}
details .arrow {
font-size: 16px;
}