Skip to content

Commit

Permalink
docs(dropdowns): make dropdowns scrollable and easier to see in navig…
Browse files Browse the repository at this point in the history
…ation bar (ibis-project#10090)

Co-authored-by: Gil Forsyth <[email protected]>
  • Loading branch information
2 people authored and ncclementi committed Sep 24, 2024
1 parent d0e72e9 commit f15b1e6
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions docs/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,20 @@ section[id^="parameters-"] {
margin: 0 5px;
/* Adds a small margin between columns */
}

/* dropdown menu styles */
.dropdown-menu {
max-height: 400px;
overflow: auto;
}

.quarto-navbar-tools .dropdown-menu.show {
right: 0px;
left: auto;
}

@media (max-width: 988px) {
.quarto-navbar-tools .dropdown-menu.show {
right: -80px;
}
}

0 comments on commit f15b1e6

Please sign in to comment.