From 5aba0bc176b06391a33523c863352f11999019df Mon Sep 17 00:00:00 2001 From: celine Date: Wed, 14 Jan 2026 21:40:37 -0500 Subject: [PATCH] adjusting full bleed styling for image blocks --- components/Blocks/Block.tsx | 8 ++++++-- components/Blocks/ImageBlock.tsx | 10 ++-------- 2 files changed, 8 insertions(+), 10 deletions(-) diff --git a/components/Blocks/Block.tsx b/components/Blocks/Block.tsx index 5558ec35..6fc97a4f 100644 --- a/components/Blocks/Block.tsx +++ b/components/Blocks/Block.tsx @@ -393,6 +393,7 @@ export const BlockLayout = (props: { isSelected?: boolean; children: React.ReactNode; className?: string; + optionsClassName?: string; hasBackground?: "accent" | "page"; borderOnHover?: boolean; hasAlignment?: boolean; @@ -422,6 +423,7 @@ export const BlockLayout = (props: { {props.isSelected && ( @@ -433,9 +435,9 @@ export const BlockLayout = (props: { let debounced: null | number = null; const NonTextBlockOptions = (props: { - isCanvas?: boolean; areYouSure?: boolean; setAreYouSure?: (value: boolean) => void; + optionsClassName?: string; }) => { let { rep } = useReplicache(); let entity_set = useEntitySetContext(); @@ -453,7 +455,9 @@ const NonTextBlockOptions = (props: { if (isMultiselected) return; return ( -
+
{focusedEntityType?.data.value !== "canvas" && ( <>