Skip to content

Commit

Permalink
nav summary alignment
Browse files Browse the repository at this point in the history
  • Loading branch information
antoinem committed Sep 13, 2024
1 parent 8842d17 commit 7077847
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/rdoc/generator/template/rorvswild/css/rdoc.css
Original file line number Diff line number Diff line change
Expand Up @@ -192,13 +192,14 @@ details > summary {
list-style: none; /* Remove the default marker */
position: relative; /* So that the open/close triangle can position itself absolutely inside */
display: flex;
width: 100%;
width: calc(100% - 0.25rem);
gap: 4px;
padding: 0 0 0 0.25rem;
}

details > summary:has(> a) {
padding: 0;
width: 100%;
}

summary::-webkit-details-marker { display: none; }
Expand Down

0 comments on commit 7077847

Please sign in to comment.