From 4602633a1c2be2e1c1917bd8a013976506d45c0a Mon Sep 17 00:00:00 2001 From: Tristan Guest Date: Sat, 2 Dec 2023 08:57:46 -0400 Subject: [PATCH] [@mantine/core] Alert: Fix padding without title (#5359) --- src/mantine-core/src/components/Alert/Alert.module.css | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/mantine-core/src/components/Alert/Alert.module.css b/src/mantine-core/src/components/Alert/Alert.module.css index 735db8ab994..704647000f8 100644 --- a/src/mantine-core/src/components/Alert/Alert.module.css +++ b/src/mantine-core/src/components/Alert/Alert.module.css @@ -22,6 +22,9 @@ .body { flex: 1; + display: flex; + flex-direction: column; + gap: var(--mantine-spacing-xs); } .title { @@ -68,7 +71,6 @@ overflow: hidden; font-size: var(--mantine-font-size-sm); color: var(--_message-color, var(--__message-color)); - margin-top: var(--mantine-spacing-xs); @mixin light { --__message-color: var(--mantine-color-black);