diff options
author | Carl Schwan <carl@carlschwan.eu> | 2021-08-12 20:14:23 +0300 |
---|---|---|
committer | Carl Schwan <carl@carlschwan.eu> | 2021-08-17 10:47:48 +0300 |
commit | 0b361a25e46001973bc33b7b1808cf7ee4ab712c (patch) | |
tree | b7c65c2bad1c3bd5e6fe0b0dee1c5a393ce4f51d /src | |
parent | 2cb113098696843e2d1d710948cfa020d4a105f3 (diff) |
Fix header popover in file browser
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Diffstat (limited to 'src')
-rw-r--r-- | src/components/EditorWrapper.vue | 2 | ||||
-rw-r--r-- | src/views/RichWorkspace.vue | 8 |
2 files changed, 7 insertions, 3 deletions
diff --git a/src/components/EditorWrapper.vue b/src/components/EditorWrapper.vue index ac53a0fc2..9ac6b9dc4 100644 --- a/src/components/EditorWrapper.vue +++ b/src/components/EditorWrapper.vue @@ -52,7 +52,7 @@ </div> <slot name="header" /> </MenuBar> - <div> + <div class="content-wrapper"> <MenuBubble v-if="!readOnly && isRichEditor" :editor="tiptap" :file-path="relativePath" /> diff --git a/src/views/RichWorkspace.vue b/src/views/RichWorkspace.vue index 3229e4fb1..22abb41d6 100644 --- a/src/views/RichWorkspace.vue +++ b/src/views/RichWorkspace.vue @@ -211,8 +211,12 @@ export default { } #rich-workspace::v-deep #editor { + overflow: visible !important; + } + + #rich-workspace::v-deep .content-wrapper { overflow: scroll !important; - max-height: 50vh; + max-height: calc(40vh - 50px); padding-left: 10px; } @@ -222,7 +226,7 @@ export default { } #rich-workspace::v-deep .menubar { - z-index: 50; + z-index: 61; /* Slightly reduce vertical space */ margin-bottom: -10px; } |