File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -132,9 +132,10 @@ Modal.Footer = ({
132
132
} ) => (
133
133
< footer className = "flex items-center justify-between border-t px-3 py-3 border-secondary" >
134
134
< div className = "mr-4" > { children } </ div >
135
- < div className = "flex flex-row-reverse gap-2" >
136
- { /* Note the confirm button is first so it autofocuses when the modal opens,
137
- but it displays in the right order because of flex-row-reverse */ }
135
+ < div className = "space-x-2" >
136
+ < Button variant = "secondary" size = "sm" onClick = { onDismiss } >
137
+ { cancelText || 'Cancel' }
138
+ </ Button >
138
139
< Button
139
140
size = "sm"
140
141
variant = { actionType }
@@ -144,9 +145,6 @@ Modal.Footer = ({
144
145
>
145
146
{ actionText }
146
147
</ Button >
147
- < Button variant = "secondary" size = "sm" onClick = { onDismiss } >
148
- { cancelText || 'Cancel' }
149
- </ Button >
150
148
</ div >
151
149
</ footer >
152
150
)
You can’t perform that action at this time.
0 commit comments