Skip to content

Commit b9e2d33

Browse files
committed
Page Content: Aligned max-width across viewer and editors
For #4916
1 parent 19f78db commit b9e2d33

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

resources/sass/_forms.scss

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,8 +128,9 @@
128128
body {
129129
display: block;
130130
background-color: #fff;
131-
padding-inline-start: 16px;
132-
padding-inline-end: 16px;
131+
padding-inline-start: 12px;
132+
padding-inline-end: 12px;
133+
max-width: 864px;
133134
}
134135
[drawio-diagram]:hover {
135136
outline: 2px solid var(--color-primary);

resources/sass/_tinymce.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
padding-block-end: 1rem;
2222
outline: 0;
2323
display: block;
24+
max-width: calc(870px);
2425
}
2526

2627
.wysiwyg-input.mce-content-body {

0 commit comments

Comments
 (0)