feat: make buttons horizontally aligned

This commit is contained in:
karishmas6
2024-10-24 06:24:55 +05:30
parent 225d97e8b7
commit a182d62903

View File

@@ -162,22 +162,22 @@ export const IntegrationSettingsModal = ({ isOpen, handleStart, handleClose }: I
<Typography color="error">{error}</Typography>
) : spreadsheets.length === 0 ? (
<>
<Button
variant="contained"
color="primary"
onClick={fetchSpreadsheetFiles}
style={{ marginBottom: '15px' }}
>
Fetch Google Spreadsheets
</Button>
<Button
variant="outlined"
color="error"
onClick={removeIntegration}
style={{ marginTop: '15px' }}
>
Remove Integration
</Button>
<div style={{ display: 'flex', gap: '10px' }}>
<Button
variant="contained"
color="primary"
onClick={fetchSpreadsheetFiles}
>
Fetch Google Spreadsheets
</Button>
<Button
variant="outlined"
color="error"
onClick={removeIntegration}
>
Remove Integration
</Button>
</div>
</>
) : (
<>