File tree Expand file tree Collapse file tree 1 file changed +22
-1
lines changed
src/librustdoc/html/static/css Expand file tree Collapse file tree 1 file changed +22
-1
lines changed Original file line number Diff line number Diff line change @@ -1494,10 +1494,31 @@ details.dir-entry {
14941494 padding-left : 4px ;
14951495}
14961496
1497+ details .dir-entry > summary ::after {
1498+ content : " ►" ;
1499+ position : absolute;
1500+ left : -15px ;
1501+ top : 0px ;
1502+ font-size : 80% ;
1503+ padding : 2px 0px ;
1504+ /* set width to cover gap between arrow and text */
1505+ width : 25px ;
1506+ }
1507+
1508+ details [open ].dir-entry > summary ::after {
1509+ content : " ▼" ;
1510+ }
1511+
1512+ details .dir-entry > summary ::-webkit-details-marker ,
1513+ details .dir-entry > summary ::marker {
1514+ display : none;
1515+ }
1516+
14971517details .dir-entry > summary {
14981518 margin : 0 0 0 13px ;
1499- list-style-position : outside ;
1519+ list-style : none ;
15001520 cursor : pointer;
1521+ position : relative;
15011522}
15021523
15031524details .dir-entry div .folders , details .dir-entry div .files {
You can’t perform that action at this time.
0 commit comments