1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-01-25 00:07:47 +01:00

fix: fix UI issues with SCIM new token button (#6948)

Makes the regenerate token button in SCIM settings behave like the rest
of the grid (remove margin left, add margin bottom)


![image](https://github.com/Unleash/unleash/assets/707867/ff3ac26e-87b3-4862-aebd-cdba0011ddad)
This commit is contained in:
David Leek 2024-04-26 14:31:53 +02:00 committed by GitHub
parent 9f6badf5df
commit 0ac9624caf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -108,7 +108,7 @@ export const ScimConfigSettings = ({
</Grid> </Grid>
<Grid container spacing={3}> <Grid container spacing={3}>
<Grid item md={5}> <Grid item md={5} mb={2}>
<ConditionallyRender <ConditionallyRender
condition={Boolean(settings.hasToken)} condition={Boolean(settings.hasToken)}
show={ show={
@ -117,7 +117,6 @@ export const ScimConfigSettings = ({
color='error' color='error'
disabled={loading} disabled={loading}
onClick={onGenerateNewToken} onClick={onGenerateNewToken}
sx={{ ml: 1 }}
> >
Generate new token Generate new token
</Button> </Button>