Skip to content

Commit 5be2f4e

Browse files
author
Ryan A. Johnson
committed
fix(CSS): correct alert dismiss styling
1 parent af0266d commit 5be2f4e

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

src/helix-ui/styles/alert.less

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -68,13 +68,7 @@
6868
&__dismiss {
6969
background-color: transparent;
7070
border: none;
71-
display: flex;
72-
flex-direction: column;
73-
padding: 0.875em 1em;
74-
75-
hx-icon {
76-
height: 0.75em;
77-
width: 0.75em;
78-
}
71+
line-height: 1;
72+
padding: 1rem;
7973
}
8074
}

src/helix-ui/styles/reset.less

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,9 @@ a {
3232
fieldset {
3333
border: none;
3434
}
35+
36+
button {
37+
color: inherit;
38+
font: inherit;
39+
margin: 0;
40+
}

0 commit comments

Comments
 (0)