Skip to content

Commit d581cc5

Browse files
authored
Merge pull request #1195 from nobu/details-marker-for-safari
Hack for Safari 18
2 parents f69dc47 + c6a0a6a commit d581cc5

File tree

1 file changed

+4
-0
lines changed
  • lib/rdoc/generator/template/darkfish/css

1 file changed

+4
-0
lines changed

lib/rdoc/generator/template/darkfish/css/rdoc.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -258,6 +258,10 @@ nav ul li details > summary {
258258
position: relative; /* So that the open/close triangle can position itself absolutely inside */
259259
}
260260

261+
nav ul li details > summary::-webkit-details-marker {
262+
display: none; /* Removes the default marker, in Safari 18. */
263+
}
264+
261265
nav ul li details > summary::after {
262266
content: '▶'; /* Unicode right-pointing triangle */
263267
position: absolute;

0 commit comments

Comments
 (0)