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 authored and juliusknorr committed Jun 22, 2023
1 parent 9ad7585 commit 8765b4f
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 8765b4f

Please sign in to comment.