Skip to content

Commit ba1bc2c

Browse files
committed
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>
1 parent 8aef1c1 commit ba1bc2c

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/views/DirectEditing.vue

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,13 @@ export default {
127127
}
128128
</script>
129129

130+
<style lang="scss">
131+
#content[class=app-public] {
132+
margin: 0;
133+
margin-top: 0;
134+
}
135+
</style>
136+
130137
<style scoped lang="scss">
131138
body {
132139
position: fixed;

0 commit comments

Comments
 (0)