From 96fd206f0156f2ad4a4ed4b15cb6b37223b3a952 Mon Sep 17 00:00:00 2001 From: James Scott-Brown Date: Fri, 13 Oct 2023 15:31:46 +0100 Subject: [PATCH] Re-add max-w-xl class to element Without this, the width of the body is limited, but the grey background of the placard can fil lthe full width of its parent. --- packages/ui/src/lib/placardButton/PlacardButton.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/ui/src/lib/placardButton/PlacardButton.svelte b/packages/ui/src/lib/placardButton/PlacardButton.svelte index 2c557815..cfb69e08 100644 --- a/packages/ui/src/lib/placardButton/PlacardButton.svelte +++ b/packages/ui/src/lib/placardButton/PlacardButton.svelte @@ -9,7 +9,7 @@ {href} target={newWindow ? '_blank' : '_self'} rel={newWindow ? 'noopener noreferrer' : ''} - class="bg-core-grey-700 group hover:bg-core-grey-800 transition h-full flex flex-col text-white" + class="bg-core-grey-700 group hover:bg-core-grey-800 transition h-full flex flex-col text-white max-w-xl" >
{#if $$slots.title}