Skip to content

Commit e2e1336

Browse files
committed
Better arrow with <details> / <summary> tags
When having a `<details>` / `<summary>` tags combination the "closed" arrow des not look good (Window / Firefox, Chrome, Edge). Using the "open" arrow and rotating this
1 parent 9d5b9fc commit e2e1336

1 file changed

Lines changed: 10 additions & 7 deletions

File tree

templates/html/doxygen.css

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2116,14 +2116,17 @@ details > summary::-webkit-details-marker {
21162116
}
21172117

21182118
details>summary::before {
2119-
content: "\25ba";
2120-
padding-right:4px;
2121-
font-size: 80%;
2119+
content: "\25bc";
2120+
padding-right:4px;
2121+
font-size: 80%;
2122+
display: inline-block;
2123+
transform: rotate(-90deg);
21222124
}
21232125

21242126
details[open]>summary::before {
2125-
content: "\25bc";
2126-
padding-right:4px;
2127-
font-size: 80%;
2127+
content: "\25bc";
2128+
padding-right:4px;
2129+
font-size: 80%;
2130+
display: inline-block;
2131+
transform: rotate(0deg);
21282132
}
2129-

0 commit comments

Comments
 (0)