From 6c22539dd46b358b7d2a16b6e89a63d7859e1cf9 Mon Sep 17 00:00:00 2001 From: Brian McGee Date: Wed, 27 Aug 2025 17:29:21 +0100 Subject: [PATCH] fix(ui): icon alignment in alerts Closes #5004 --- pkgs/clan-app/ui/src/components/Alert/Alert.module.css | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/clan-app/ui/src/components/Alert/Alert.module.css b/pkgs/clan-app/ui/src/components/Alert/Alert.module.css index 4edc87664..9d647cbde 100644 --- a/pkgs/clan-app/ui/src/components/Alert/Alert.module.css +++ b/pkgs/clan-app/ui/src/components/Alert/Alert.module.css @@ -5,10 +5,6 @@ @apply pl-3; } - &.hasIcon svg.icon { - @apply relative top-0.5; - } - &.hasDismiss { @apply pr-3; } @@ -35,6 +31,10 @@ &.noPadding { @apply p-0; } + + svg { + @apply relative top-0.5; + } } .alertContent {