We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2d3a85b commit 468accaCopy full SHA for 468acca
src/librustdoc/html/static/css/rustdoc.css
@@ -1500,10 +1500,26 @@ details.dir-entry {
1500
padding-left: 4px;
1501
}
1502
1503
+details.dir-entry > summary::after {
1504
+ content: " ►";
1505
+ position: absolute;
1506
+ left: -15px;
1507
+ top: 0px;
1508
+ font-size: 80%;
1509
+ padding: 2px 0px;
1510
+ /* set width to cover gap between arrow and text */
1511
+ width: 25px;
1512
+}
1513
+
1514
+details[open].dir-entry > summary::after {
1515
+ content: " ▼";
1516
1517
1518
details.dir-entry > summary {
1519
margin: 0 0 0 13px;
- list-style-position: outside;
1520
+ list-style: none;
1521
cursor: pointer;
1522
+ position: relative;
1523
1524
1525
details.dir-entry div.folders, details.dir-entry div.files {
0 commit comments