Skip to content

Commit

Permalink
Remove details markers in HTML documents
Browse files Browse the repository at this point in the history
`summary {list-style: none;}` still does not work in Safari 18.
  • Loading branch information
nobu committed Oct 25, 2024
1 parent f69dc47 commit c6a0a6a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/rdoc/generator/template/darkfish/css/rdoc.css
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,10 @@ nav ul li details > summary {
position: relative; /* So that the open/close triangle can position itself absolutely inside */
}

nav ul li details > summary::-webkit-details-marker {
display: none; /* Removes the default marker, in Safari 18. */
}

nav ul li details > summary::after {
content: '▶'; /* Unicode right-pointing triangle */
position: absolute;
Expand Down

0 comments on commit c6a0a6a

Please sign in to comment.