From ed1770412e3d926417f6d26129f3a295fc73056d Mon Sep 17 00:00:00 2001 From: Simeon Cheeseman <1085899+SimeonC@users.noreply.github.com> Date: Mon, 11 Mar 2024 11:52:03 +0900 Subject: [PATCH] fix(input-alert): handle case when no icon --- system/core/src/components/InputAlert.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/system/core/src/components/InputAlert.ts b/system/core/src/components/InputAlert.ts index 5c60a6d44..8f7a08376 100644 --- a/system/core/src/components/InputAlert.ts +++ b/system/core/src/components/InputAlert.ts @@ -26,6 +26,9 @@ export const baseStyles = css` & > svg:first-child { margin-top: 2px; } + & > :not(svg):first-child:last-child { + grid-column: 1 / 3; + } &[data-variant='error'], &[data-variant='warning'],