Skip to content

Commit c6a0a6a

Browse files
committed
Remove details markers in HTML documents
`summary {list-style: none;}` still does not work in Safari 18.
1 parent f69dc47 commit c6a0a6a

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)