This repository was archived by the owner on Feb 19, 2025. It is now read-only.
File tree 2 files changed +9
-9
lines changed
2 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -61,13 +61,13 @@ function Alert({
61
61
< >
62
62
{ visible && (
63
63
< div className = { containerClasses . join ( ' ' ) } >
64
- < div className = "flex space-x-4" >
65
- { withIcon ? (
66
- < div className = { __styles . variant [ variant ] . icon } >
67
- { withIcon && icons [ variant ] }
68
- </ div >
69
- ) : null }
70
- { icon && icon }
64
+ { withIcon ? (
65
+ < div className = { __styles . variant [ variant ] . icon } >
66
+ { withIcon && icons [ variant ] }
67
+ </ div >
68
+ ) : null }
69
+ { icon && icon }
70
+ < div className = "flex flex-1 justify-between" >
71
71
< div >
72
72
< h3
73
73
className = { [
@@ -79,8 +79,8 @@ function Alert({
79
79
</ h3 >
80
80
< div className = { descriptionClasses . join ( ' ' ) } > { children } </ div >
81
81
</ div >
82
+ { actions }
82
83
</ div >
83
- { actions }
84
84
{ closable && (
85
85
< button
86
86
aria-label = "Close alert"
Original file line number Diff line number Diff line change @@ -253,7 +253,7 @@ export default {
253
253
alert : {
254
254
base : `
255
255
relative rounded border py-4 px-6
256
- flex justify-between space-x-4 items-start
256
+ flex space-x-4 items-start
257
257
` ,
258
258
header : 'block text-sm font-normal mb-1' ,
259
259
description : `text-xs` ,
You can’t perform that action at this time.
0 commit comments