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;
width: 225px;
border-left: 1px solid var(--primary-low);
padding-bottom: 0.5em;
box-sizing: border-box;
a {
display: block;
@ -15,7 +14,8 @@ $padding-basis: 0.75em;
}
}
#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;
ul {
list-style-type: none;

View File

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