Skip to content

Commit

Permalink
fix: max width of editor container on mobile
Browse files Browse the repository at this point in the history
Signed-off-by: Luka Trovic <luka@nextcloud.com>
  • Loading branch information
luka-nextcloud committed Jun 21, 2023
1 parent a6b5832 commit 51fd070
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Editor/ContentContainer.vue
Expand Up @@ -61,7 +61,7 @@ export default {

<style scoped lang="scss">
.editor__content {
max-width: var(--text-editor-max-width);
max-width: min(var(--text-editor-max-width), calc(100vw - 16px));
margin: auto;
position: relative;
width: 100%;
Expand Down

0 comments on commit 51fd070

Please sign in to comment.