diff options
author | Julius Härtl <jus@bitgrid.net> | 2022-08-14 18:51:41 +0300 |
---|---|---|
committer | Vinicius Reis <vinicius.reis@nextcloud.com> | 2022-08-17 17:31:01 +0300 |
commit | 66b0aefbdbdd607d16ac6c1d94874ab14cf9b781 (patch) | |
tree | 370a3be3dc44e43730d8604819717d996431118b /src | |
parent | 8cad7adba9dcb794991fdbc14097c7e6dc7c8f2a (diff) |
Polish toc styling
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'src')
-rw-r--r-- | src/components/Editor/EditorOutline.vue | 1 | ||||
-rw-r--r-- | src/components/Editor/TableOfContents.vue | 7 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/components/Editor/EditorOutline.vue b/src/components/Editor/EditorOutline.vue index 474e4ab18..6e6ebe9e7 100644 --- a/src/components/Editor/EditorOutline.vue +++ b/src/components/Editor/EditorOutline.vue @@ -77,6 +77,7 @@ export default { position: sticky; padding: 10px; display: flex; + height: 44px; h2 { font-size: 1rem; margin-top: 13px; diff --git a/src/components/Editor/TableOfContents.vue b/src/components/Editor/TableOfContents.vue index af1b018ce..98106afb6 100644 --- a/src/components/Editor/TableOfContents.vue +++ b/src/components/Editor/TableOfContents.vue @@ -124,10 +124,9 @@ export default { <style lang="scss"> .editor--toc { - opacity: 0.55; - &:hover { - opacity: 1; - } + padding: 0 10px; + color: var(--color-main-text-maxcontrast); + h3 { padding-left: 0.75rem; } |