diff --git a/lib/rdoc/generator/template/darkfish/css/rdoc.css b/lib/rdoc/generator/template/darkfish/css/rdoc.css index 872b1a0413..f8d1bc3df0 100644 --- a/lib/rdoc/generator/template/darkfish/css/rdoc.css +++ b/lib/rdoc/generator/template/darkfish/css/rdoc.css @@ -239,14 +239,15 @@ nav ul li details { nav ul li details > summary { list-style: none; /* Remove the default marker */ + position: relative; /* So that the open/close triangle can position itself absolutely inside */ } nav ul li details > summary::after { content: '▶'; /* Unicode right-pointing triangle */ position: absolute; font-size: 0.8em; - top: 0.3em; - padding-left: 0.2em; + bottom: 0.1em; + margin-left: 0.3em; transition: transform 0.2s ease; }