Skip to content

Commit ba5d5db

Browse files
committed
visual(pages): improve minimum editor size
1 parent 15e2641 commit ba5d5db

File tree

1 file changed

+2
-2
lines changed
  • apps/client/src/layouts/PagesLayout/MainContent/DisplayPage/DisplayScreens/DisplayWorld/DisplayNote/NoteSection

1 file changed

+2
-2
lines changed

apps/client/src/layouts/PagesLayout/MainContent/DisplayPage/DisplayScreens/DisplayWorld/DisplayNote/NoteSection/NoteEditor.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,8 +154,8 @@ $note-padding: 9px;
154154
.ProseMirror {
155155
padding: $note-padding;
156156
157-
min-width: MAX(100%, 1px + $note-padding * 2);
158-
max-width: 100%;
157+
min-width: $note-padding * 2 + 1px;
158+
width: 100%;
159159
160160
height: 100%;
161161

0 commit comments

Comments
 (0)