Skip to content

Commit 51e8da3

Browse files
fix: max width of editor container on mobile
Signed-off-by: Luka Trovic <luka@nextcloud.com>
1 parent 55f5a07 commit 51e8da3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/components/Editor/ContentContainer.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ export default {
6161

6262
<style scoped lang="scss">
6363
.editor__content {
64-
max-width: var(--text-editor-max-width);
64+
max-width: min(var(--text-editor-max-width), calc(100vw - 16px));
6565
margin: auto;
6666
position: relative;
6767
width: 100%;

0 commit comments

Comments
 (0)