Skip to content
Snippets Groups Projects
Commit 2ee153b7 authored by Rachel Gaubil's avatar Rachel Gaubil
Browse files

[func] add scrollbar to TOC

parent 8d03c0c3
No related branches found
No related tags found
2 merge requests!32[edit] merge main,!28[fix] correct current titles in TOC + links btw pages and images
...@@ -219,6 +219,10 @@ body { ...@@ -219,6 +219,10 @@ body {
background-color: var(--main-color) !important; background-color: var(--main-color) !important;
} }
/*******************
books menu
*******************/
.dropdown-menu.dropdown-chapters { .dropdown-menu.dropdown-chapters {
min-width: 15rem; min-width: 15rem;
max-height: 30rem; max-height: 30rem;
...@@ -266,6 +270,19 @@ body { ...@@ -266,6 +270,19 @@ body {
} }
.dropdown-menu {
padding: 0;
}
.accordion {
overflow-y: scroll;
max-height: 30rem;
}
/*******************
chapters menu
*******************/
.accordion-button { .accordion-button {
padding: 0.5rem 1rem; padding: 0.5rem 1rem;
color: var(--main-color); color: var(--main-color);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment