UX: A couple of small fixes (#21)

This commit is contained in:
Penar Musaraj 2022-01-18 11:36:40 -05:00 committed by GitHub
parent 86b9960263
commit e044017955
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 5 deletions

View File

@ -4,7 +4,6 @@ $padding-basis: 0.75em;
display: none; display: none;
width: 225px; width: 225px;
border-left: 1px solid var(--primary-low); border-left: 1px solid var(--primary-low);
padding-bottom: 0.5em;
box-sizing: border-box; box-sizing: border-box;
a { a {
display: block; display: block;
@ -15,7 +14,8 @@ $padding-basis: 0.75em;
} }
} }
#d-toc { #d-toc {
max-height: calc(100vh - 3em - var(--header-offset)); max-height: calc(100vh - 4.5em - var(--header-offset));
padding-bottom: 0.5em;
overflow: auto; overflow: auto;
ul { ul {
list-style-type: none; list-style-type: none;

View File

@ -1,3 +1,5 @@
<a {{action "showTOCOverlay"}} href class="btn btn-primary"> {{d-button
{{theme-i18n "table_of_contents"}} class="btn-primary"
</a> action=(action "showTOCOverlay")
label=(theme-prefix "table_of_contents")
}}