Skip to content

Commit 726b968

Browse files
committed
style: mimic style on all modals
1 parent ed529ab commit 726b968

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/components/statementWizard/EditStatementModal.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,11 +140,11 @@ export const EditStatementModal: React.FC<EditStatementModalProps> = ({
140140
</DialogDescription>
141141
{renderEditComponent()}
142142
{/* Optionally add a footer for explicit Save/Cancel */}
143-
<div className='p-4 flex justify-center'>
143+
<div className='p-4 flex justify-center gap-4'>
144144
<Button onClick={handleSave} variant='pink'>
145145
Save
146146
</Button>
147-
<Button onClick={onClose} variant='pink' className='ml-2'>
147+
<Button onClick={onClose} variant='pink'>
148148
Cancel
149149
</Button>
150150
</div>

src/components/statementWizard/StatementWizard.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -254,18 +254,18 @@ const StatementWizard: React.FC<StatementWizardProps> = ({
254254
</AnimatePresence>
255255
<StatementPreview selection={selection} />
256256
{/* Navigation Panel */}
257-
<div className='flex justify-between p-4 border-t'>
257+
<div className='flex justify-center p-4 gap-4'>
258258
<Button
259259
onClick={goBack}
260260
disabled={currentStepIndex === 0}
261261
variant='pink'
262-
className='mx-auto'
262+
// className='mx-auto'
263263
>
264264
Back
265265
</Button>
266266
<Button
267267
variant='pink'
268-
className='mx-auto'
268+
// className='mx-auto'
269269
onClick={
270270
currentStepIndex === steps.length - 1 ? handleComplete : goNext
271271
}

0 commit comments

Comments
 (0)