style(BlockEditor): adjust container padding values

This commit is contained in:
2026-04-26 12:01:13 -04:00
parent 7b642d71b3
commit bbd12e7596
@@ -1016,7 +1016,7 @@ export default function BlockEditor({
onKeyDown={handleGlobalKeyDown}
onMouseDownCapture={handleContainerMouseDown}
style={minHeight != null ? { minHeight: typeof minHeight === 'number' ? `${minHeight}px` : minHeight } : undefined}
className={`block-editor border rounded-xl bg-white dark:bg-neutral-900/60 px-3 py-6 ${error ? 'border-red-500/50' : 'border-neutral-300 dark:border-neutral-700/50'} ${blocks.length === 1 && inlineLength(blocks[0].content ?? []) === 0 ? 'block-editor--sole-empty' : ''} ${className}`}
className={`block-editor border rounded-xl bg-white dark:bg-neutral-900/60 pl-0 pr-[45px] py-5 ${error ? 'border-red-500/50' : 'border-neutral-300 dark:border-neutral-700/50'} ${blocks.length === 1 && inlineLength(blocks[0].content ?? []) === 0 ? 'block-editor--sole-empty' : ''} ${className}`}
>
<BlockEditorStyles />
{blocks.map((block, i) => (