UX: A couple of small fixes (#21)
This commit is contained in:
parent
86b9960263
commit
e044017955
|
@ -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;
|
||||
|
|
|
@ -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")
|
||||
}}
|
||||
|
|
Loading…
Reference in New Issue