fix: improved error reporting in super; improved draggable block icon padding

This commit is contained in:
Mo
2022-11-18 20:54:03 -06:00
parent e8b758214d
commit 24ff87c306
4 changed files with 13 additions and 8 deletions

View File

@@ -90,7 +90,7 @@ export const SuperEditor: FunctionComponent<Props> = ({
}, [controller, controller.item.uuid])
return (
<div className="relative h-full w-full px-5 py-4">
<div className="relative h-full w-full">
<ErrorBoundary>
<LinkingControllerProvider controller={linkingController}>
<FilesControllerProvider controller={filesController}>
@@ -102,7 +102,7 @@ export const SuperEditor: FunctionComponent<Props> = ({
<BlocksEditor
onChange={handleChange}
ignoreFirstChange={true}
className="relative h-full resize-none text-base focus:shadow-none focus:outline-none"
className="relative h-full resize-none px-5 py-4 text-base focus:shadow-none focus:outline-none"
previewLength={NotePreviewCharLimit}
spellcheck={spellcheck}
>