File tree Expand file tree Collapse file tree 2 files changed +18
-10
lines changed Expand file tree Collapse file tree 2 files changed +18
-10
lines changed Original file line number Diff line number Diff line change @@ -24,12 +24,14 @@ export function Alert(props: AlertProps): JSX.Element {
2424 className = { classNames ( 'seam-alert' , `seam-${ variant } -alert` , className ) }
2525 >
2626 < div className = 'seam-alert-content' >
27- < div className = 'seam-alert-icon' >
28- { variant === 'warning' ? (
29- < TriangleWarningIcon />
30- ) : (
31- < ExclamationCircleIcon />
32- ) }
27+ < div className = 'seam-alert-icon-wrap' >
28+ < div className = 'seam-alert-icon' >
29+ { variant === 'warning' ? (
30+ < TriangleWarningIcon />
31+ ) : (
32+ < ExclamationCircleIcon />
33+ ) }
34+ </ div >
3335 </ div >
3436 < div className = 'seam-alert-message-wrap' >
3537 < p className = 'seam-alert-message' > { message } </ p >
Original file line number Diff line number Diff line change 1818 // Alert
1919 .seam-alert {
2020 width : 100% ;
21- min-height : 70 px ;
21+ min-height : 54 px ;
2222 padding : 8px 16px ;
2323 border-radius : 8px ;
2424 display : flex ;
6868 margin-top : 16px ;
6969 }
7070
71+ .seam-alert-icon-wrap {
72+ padding : 7px 8px ;
73+ padding-left : 0 ;
74+ }
75+
7176 .seam-alert-icon {
7277 width : 24px ;
7378 height : 24px ;
7681 .seam-alert-content {
7782 display : flex ;
7883 justify-content : flex-start ;
79- align-items : center ;
84+ align-items : flex-start ;
8085 flex-direction : row ;
81- gap : 8px ;
8286 }
8387
8488 .seam-alert-message-wrap {
89+ padding : 8px 0 ;
90+
8591 .seam-alert-message {
8692 font-size : 14px ;
8793 font-weight : 400 ;
9197 }
9298 }
9399
94- @media only screen and (width <= 500px ) {
100+ @media only screen and (width <=500px ) {
95101 .seam-alert {
96102 justify-content : flex-start ;
97103 flex-direction : column ;
You can’t perform that action at this time.
0 commit comments