Skip to content

Commit 7077847

Browse files
committed
nav summary alignment
1 parent 8842d17 commit 7077847

File tree

1 file changed

+2
-1
lines changed
  • lib/rdoc/generator/template/rorvswild/css

1 file changed

+2
-1
lines changed

lib/rdoc/generator/template/rorvswild/css/rdoc.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,13 +192,14 @@ details > summary {
192192
list-style: none; /* Remove the default marker */
193193
position: relative; /* So that the open/close triangle can position itself absolutely inside */
194194
display: flex;
195-
width: 100%;
195+
width: calc(100% - 0.25rem);
196196
gap: 4px;
197197
padding: 0 0 0 0.25rem;
198198
}
199199

200200
details > summary:has(> a) {
201201
padding: 0;
202+
width: 100%;
202203
}
203204

204205
summary::-webkit-details-marker { display: none; }

0 commit comments

Comments
 (0)