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
path: root/src
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2019-10-24 15:28:27 +0300
committerJulius Härtl <jus@bitgrid.net>2019-10-24 15:28:27 +0300
commitacc40f1ea730431b463fae5e55b5e4c2abb25e28 (patch)
tree1cff2afb02ed4ec10d5ab83fba77c07a944c0bdf /src
parent8d25d51766a4830b7d74dd0594462f337abcf83c (diff)
Make sure the menububble is always refering the document container
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'src')
-rw-r--r--src/components/EditorWrapper.vue7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/components/EditorWrapper.vue b/src/components/EditorWrapper.vue
index 989ba6ce7..877fc979a 100644
--- a/src/components/EditorWrapper.vue
+++ b/src/components/EditorWrapper.vue
@@ -45,8 +45,10 @@
</SessionList>
</div>
</MenuBar>
- <MenuBubble v-if="!readOnly && isRichEditor" :editor="tiptap" />
- <EditorContent v-show="initialLoading" class="editor__content" :editor="tiptap" />
+ <div class="editor__content">
+ <MenuBubble v-if="!readOnly && isRichEditor" :editor="tiptap" />
+ <EditorContent v-show="initialLoading" :editor="tiptap" />
+ </div>
</div>
<ReadOnlyEditor v-if="hasSyncCollission"
:content="syncError.data.outsideChange"
@@ -507,6 +509,7 @@ export default {
.editor__content {
max-width: 670px;
margin: auto;
+ position: relative;
}
#body-public {