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> <Typography color="error">{error}</Typography>
) : spreadsheets.length === 0 ? ( ) : spreadsheets.length === 0 ? (
<> <>
<Button <div style={{ display: 'flex', gap: '10px' }}>
variant="contained" <Button
color="primary" variant="contained"
onClick={fetchSpreadsheetFiles} color="primary"
style={{ marginBottom: '15px' }} onClick={fetchSpreadsheetFiles}
> >
Fetch Google Spreadsheets Fetch Google Spreadsheets
</Button> </Button>
<Button <Button
variant="outlined" variant="outlined"
color="error" color="error"
onClick={removeIntegration} onClick={removeIntegration}
style={{ marginTop: '15px' }} >
> Remove Integration
Remove Integration </Button>
</Button> </div>
</> </>
) : ( ) : (
<> <>