Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[@mantine/core] Alert: Fix padding without title #5359

Merged
merged 1 commit into from
Dec 2, 2023

Conversation

tbguest
Copy link
Contributor

@tbguest tbguest commented Dec 1, 2023

This PR resolves #5305: The children of an <Alert> are offset from the alert's icon when the (optional) title is omitted.

Fix: The margin-top on the <Alert> .message is replaced with a flex gap.

Before:
Screenshot 2023-12-01 at 14 56 34

After:
Screenshot 2023-12-01 at 14 44 49

@rtivital rtivital merged commit 4602633 into mantinedev:master Dec 2, 2023
1 check passed
@rtivital
Copy link
Member

rtivital commented Dec 2, 2023

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Padding broken on Alert with no title
2 participants