Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/text.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2022-08-14 18:51:41 +0300
committerVinicius Reis <vinicius.reis@nextcloud.com>2022-08-17 17:31:01 +0300
commit66b0aefbdbdd607d16ac6c1d94874ab14cf9b781 (patch)
tree370a3be3dc44e43730d8604819717d996431118b /src/components/Editor
parent8cad7adba9dcb794991fdbc14097c7e6dc7c8f2a (diff)
Polish toc styling
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'src/components/Editor')
-rw-r--r--src/components/Editor/EditorOutline.vue1
-rw-r--r--src/components/Editor/TableOfContents.vue7
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;
}