mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-24 20:14:35 -04:00
Update toc styles to make toc menu always accessible without scrolling
This commit is contained in:
parent
8d24d9e97f
commit
e08152ed03
2 changed files with 9 additions and 2 deletions
|
@ -130,11 +130,16 @@
|
|||
padding-right: 10px;
|
||||
max-width: 45vw;
|
||||
width: 25vw;
|
||||
max-height: 65vh;
|
||||
max-height: 70vh;
|
||||
overflow: auto;
|
||||
text-align: inherit;
|
||||
}
|
||||
|
||||
.ui-toc-dropdown > .toc {
|
||||
max-height: calc(70vh - 100px);
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
.ui-toc-dropdown[dir='rtl'] .nav {
|
||||
padding-right: 0;
|
||||
letter-spacing: 0.0029em;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue