fix(alert): vertically center alert content
Add align-items: center to .alert flex container and remove bottom margin from .alert-title that was offsetting the text.
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
.alert {
|
||||
position: relative;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: var(--size-3);
|
||||
padding: var(--size-4) var(--size-6);
|
||||
background: var(--bg-1);
|
||||
@@ -11,7 +12,7 @@
|
||||
|
||||
.alert-title {
|
||||
font-weight: 600;
|
||||
margin: 0 0 var(--size-1) 0;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.alert-body {
|
||||
|
||||
Reference in New Issue
Block a user