diff --git a/apps/console/src/pages/organizations/cookie-banners/configuration/snippet/_components/ThemePreview.tsx b/apps/console/src/pages/organizations/cookie-banners/configuration/snippet/_components/ThemePreview.tsx index 19decec3e..66b10e76b 100644 --- a/apps/console/src/pages/organizations/cookie-banners/configuration/snippet/_components/ThemePreview.tsx +++ b/apps/console/src/pages/organizations/cookie-banners/configuration/snippet/_components/ThemePreview.tsx @@ -179,7 +179,7 @@ function BannerPreview() { fontFamily: "var(--probo-font-family, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif)", fontSize: "var(--probo-font-size, 14px)", lineHeight: 1.5, - maxWidth: 520, + maxWidth: 450, width: "100%", padding: 24, }} @@ -213,64 +213,67 @@ function BannerPreview() {

- - - + + + + + + + + +
); diff --git a/packages/cookie-banner/src/themed-banner/styles.ts b/packages/cookie-banner/src/themed-banner/styles.ts index 9f7d67c55..3ca2bf6cc 100644 --- a/packages/cookie-banner/src/themed-banner/styles.ts +++ b/packages/cookie-banner/src/themed-banner/styles.ts @@ -129,8 +129,6 @@ export const THEMED_STYLES = ` } .btn { - flex: 1; - min-width: 0; padding: 8px 10px; border-radius: var(--_btn-radius); border: 1px solid var(--_border); @@ -139,6 +137,7 @@ export const THEMED_STYLES = ` font-family: var(--_font); font-size: var(--_font-size); font-weight: 500; + line-height: normal; cursor: pointer; transition: background 0.15s, border-color 0.15s; white-space: nowrap;