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 <[email protected]>
  • Loading branch information
luka-nextcloud committed Jun 21, 2023
1 parent a6b5832 commit 20fb69e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Editor/ContentContainer.vue
Original file line number Diff line number Diff line change
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 20fb69e

Please sign in to comment.