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