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>2019-10-25 16:18:40 +0300
committerJulius Härtl <jus@bitgrid.net>2019-10-28 13:51:12 +0300
commit7b3edd3989e4656db414c20f5aad6541c9c39a1e (patch)
treebdcc9d3263b0e1268d963c9179a2ddd5f9e0d692 /src/components/ReadOnlyEditor.vue
parente322c247a347c703bdab35f0ba423114bc898d49 (diff)
Add preview plugin
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'src/components/ReadOnlyEditor.vue')
-rw-r--r--src/components/ReadOnlyEditor.vue13
1 files changed, 12 insertions, 1 deletions
diff --git a/src/components/ReadOnlyEditor.vue b/src/components/ReadOnlyEditor.vue
index 43b4eee74..244ea812b 100644
--- a/src/components/ReadOnlyEditor.vue
+++ b/src/components/ReadOnlyEditor.vue
@@ -60,10 +60,21 @@ export default {
}
</script>
-<style scoped lang="scss">
+<style lang="scss">
#read-only-editor {
+ @import './../../css/prosemirror';
overflow: scroll;
}
+ .thumbnailContainer #read-only-editor {
+ width: 100%;
+
+ .ProseMirror {
+ height: auto;
+ margin: 0 0 0 0;
+ padding: 0;
+ }
+ }
+
</style>