style(BlockEditor): adjust container padding values
This commit is contained in:
@@ -1016,7 +1016,7 @@ export default function BlockEditor({
|
|||||||
onKeyDown={handleGlobalKeyDown}
|
onKeyDown={handleGlobalKeyDown}
|
||||||
onMouseDownCapture={handleContainerMouseDown}
|
onMouseDownCapture={handleContainerMouseDown}
|
||||||
style={minHeight != null ? { minHeight: typeof minHeight === 'number' ? `${minHeight}px` : minHeight } : undefined}
|
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 />
|
<BlockEditorStyles />
|
||||||
{blocks.map((block, i) => (
|
{blocks.map((block, i) => (
|
||||||
|
|||||||
Reference in New Issue
Block a user