Skip to content

Commit 412582c

Browse files
authored
WEB-65 add padding to empty containers (#89)
Add padding to empty containers, making it easier to bring content into them New: <img width="896" height="687" alt="Screenshot 2026-03-15 at 10 00 46 PM" src="https://github.com/user-attachments/assets/d2037b57-e53c-44ab-b51c-ce7fb5e28bd7" /> Old: <img width="908" height="688" alt="Screenshot 2026-03-15 at 10 00 28 PM" src="https://github.com/user-attachments/assets/d72b7e63-2535-4a31-aef7-307721142d01" />
2 parents 5db63e3 + 760afbd commit 412582c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/components/puck/Container.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export const Container: React.FC<ContainerProps> = ({
1414
gap = "",
1515
outline = "",
1616
}) => (
17-
Content && <Content className={`flex flex-col w-full ${padding} ${gap} ${outline}`} />
17+
Content && <Content minEmptyHeight="256px" className={`flex flex-col w-full ${padding} ${gap} ${outline}`} />
1818
)
1919

2020
export const ContainerConfig: ComponentConfig<ContainerProps> = {

0 commit comments

Comments
 (0)