mirror of
https://github.com/discourse/DiscoTOC.git
synced 2025-02-16 16:34:49 +00:00
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;
|
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;
|
||||||
|
@ -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")
|
||||||
|
}}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user