Skip to content

Commit

Permalink
Merge pull request #1195 from nobu/details-marker-for-safari
Browse files Browse the repository at this point in the history
Hack for Safari 18
  • Loading branch information
nobu authored Oct 25, 2024
2 parents f69dc47 + c6a0a6a commit d581cc5
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 d581cc5

Please sign in to comment.