fix: Make widest width mobile-friendly

This commit is contained in:
tecc 2023-03-12 09:49:59 +01:00
parent b014142777
commit 919a8dd895
No known key found for this signature in database
GPG Key ID: 400AAD881FCC028B

View File

@ -26,7 +26,8 @@ const MainEditor: FC<
editorWidthClass = 'max-w-4xl';
break;
case EDITOR_SIZE.AS_WIDE_AS_POSSIBLE:
editorWidthClass = 'max-w-full mx-20';
// until we reach md size, just do LARGE to have consistency
editorWidthClass = 'max-w-4xl md:max-w-full md:mx-20';
break;
}
const articleClassName =