Skip to content

Commit b0e21ef

Browse files
authored
Remove nav detail's nested padding-right (#1455)
Before: padding-right is nested. Nested `<details>` have narrow width. <img width="247" height="591" alt="before_1" src="https://github.com/user-attachments/assets/f705a976-948c-4c37-9432-ace158bb6184" /> <img width="240" height="591" alt="before_2" src="https://github.com/user-attachments/assets/14e2fb63-5b99-4cbf-b655-f519fa388b09" /> <img width="264" height="591" alt="before_3" src="https://github.com/user-attachments/assets/321505d5-3b49-492f-8d60-d8afba484c0c" /> After: <img width="245" height="592" alt="after" src="https://github.com/user-attachments/assets/a826f2ad-52df-4b85-9e4e-ac3c1253ff1e" />
1 parent 08123c7 commit b0e21ef

File tree

1 file changed

+0
-5
lines changed
  • lib/rdoc/generator/template/aliki/css

1 file changed

+0
-5
lines changed

lib/rdoc/generator/template/aliki/css/rdoc.css

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -863,11 +863,6 @@ nav a:hover {
863863
}
864864
}
865865

866-
nav ul li details {
867-
position: relative;
868-
padding-right: 1.5em; /* Add space for the marker on the right */
869-
}
870-
871866
nav ul li details > summary {
872867
list-style: none; /* Remove the default marker */
873868
position: relative; /* So that the open/close triangle can position itself absolutely inside */

0 commit comments

Comments
 (0)