Skip to content

Commit

Permalink
fix: fix UI issues with SCIM new token button (#6948)
Browse files Browse the repository at this point in the history
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)
  • Loading branch information
daveleek authored Apr 26, 2024
1 parent 9f6badf commit 0ac9624
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ export const ScimConfigSettings = ({
</Grid>

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

0 comments on commit 0ac9624

Please sign in to comment.