Skip to content

Commit

Permalink
Improve styling of collapsible sections
Browse files Browse the repository at this point in the history
  • Loading branch information
orzechow committed Nov 15, 2024
1 parent 2ee1f96 commit 4349caf
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions docs/assets/css/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,15 @@

// Add table of contents navbar
@import 'toc';

// Improve collapsible sections
details summary {
cursor: pointer;
display: list-item;
counter-increment: list-item 0;
list-style: disclosure-closed inside;
}

details[open] summary {
list-style-type: disclosure-open;
}

0 comments on commit 4349caf

Please sign in to comment.