From 95d28f92f0eef866654d90055282d63bf9cea109 Mon Sep 17 00:00:00 2001 From: Yuddomack Date: Thu, 19 Oct 2023 11:03:29 +0900 Subject: [PATCH 1/2] fix: puck header style for #168 --- packages/core/components/Heading/styles.module.css | 1 + packages/core/components/Puck/index.tsx | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/core/components/Heading/styles.module.css b/packages/core/components/Heading/styles.module.css index 0d53ed5f3c..ee81232665 100644 --- a/packages/core/components/Heading/styles.module.css +++ b/packages/core/components/Heading/styles.module.css @@ -4,6 +4,7 @@ font-family: var(--puck-font-stack); font-weight: 700; margin: 0; + word-break: break-word; } .Heading b { diff --git a/packages/core/components/Puck/index.tsx b/packages/core/components/Puck/index.tsx index f7054cc33e..75828e5de1 100644 --- a/packages/core/components/Puck/index.tsx +++ b/packages/core/components/Puck/index.tsx @@ -318,7 +318,7 @@ export function Puck({ display: "grid", padding: 16, gridTemplateAreas: '"left middle right"', - gridTemplateColumns: "288px auto 288px", + gridTemplateColumns: "288px auto 343px", gridTemplateRows: "auto", }} > From 995b386a0f15be67e9a59319f26e57413eb1f2f7 Mon Sep 17 00:00:00 2001 From: Yuddomack Date: Thu, 26 Oct 2023 09:14:55 +0900 Subject: [PATCH 2/2] fix: pixel number adjustment --- packages/core/components/Puck/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/components/Puck/index.tsx b/packages/core/components/Puck/index.tsx index 75828e5de1..526eed1064 100644 --- a/packages/core/components/Puck/index.tsx +++ b/packages/core/components/Puck/index.tsx @@ -318,7 +318,7 @@ export function Puck({ display: "grid", padding: 16, gridTemplateAreas: '"left middle right"', - gridTemplateColumns: "288px auto 343px", + gridTemplateColumns: "344px auto 344px", gridTemplateRows: "auto", }} >