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:
authorJonas <jonas@freesources.org>2022-10-11 12:03:06 +0300
committerJulius Härtl <jus@bitgrid.net>2022-10-11 18:29:25 +0300
commit9742a6366122b8ca73a964a018ef67150d9465de (patch)
tree7cd4911a44bff4ff1547d15cff4cd5fe43209988
parentbe68f6c2b81310ade75ff8818318024603c75f1f (diff)
Set #content margin to 0 for direct editing
`#content` has a default margin in Nextcloud 25, which breaks the layout for direct editing. Manually set it to 0 in order to fix direct editing. Fixes: #2976 Signed-off-by: Jonas <jonas@freesources.org>
-rw-r--r--src/views/DirectEditing.vue7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/views/DirectEditing.vue b/src/views/DirectEditing.vue
index 78f9ed279..a449697ac 100644
--- a/src/views/DirectEditing.vue
+++ b/src/views/DirectEditing.vue
@@ -127,6 +127,13 @@ export default {
}
</script>
+<style lang="scss">
+ #content[class=app-public] {
+ margin: 0;
+ margin-top: 0;
+ }
+</style>
+
<style scoped lang="scss">
body {
position: fixed;