chore: ignore editor width setting if window size is too small
This commit is contained in:
@@ -953,7 +953,7 @@ class NoteView extends AbstractComponent<NoteViewProps, State> {
|
||||
id={ElementIds.EditorContent}
|
||||
className={classNames(
|
||||
ElementIds.EditorContent,
|
||||
'z-editor-content overflow-auto [&>*]:mx-[var(--editor-margin)] [&>*]:max-w-[var(--editor-max-width)]',
|
||||
'z-editor-content overflow-auto sm:[&>*]:mx-[var(--editor-margin)] sm:[&>*]:max-w-[var(--editor-max-width)]',
|
||||
)}
|
||||
style={
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user