diff --git a/lib/rdoc/generator/template/darkfish/css/rdoc.css b/lib/rdoc/generator/template/darkfish/css/rdoc.css index 6802a99e3c..2bdffed564 100644 --- a/lib/rdoc/generator/template/darkfish/css/rdoc.css +++ b/lib/rdoc/generator/template/darkfish/css/rdoc.css @@ -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;