Login: Fix Skip button alignment (#89332)

fix login skip button alignment
This commit is contained in:
Ashley Harrison 2024-06-18 13:35:45 +01:00 committed by GitHub
parent 44a40f8e0c
commit 890482052a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 11 additions and 1 deletions

View File

@ -91,7 +91,13 @@ export const ChangePassword = ({ onSubmit, onSkip, showDefaultPasswordWarning }:
content="If you skip you will be prompted to change password next time you log in." content="If you skip you will be prompted to change password next time you log in."
placement="bottom" placement="bottom"
> >
<Button fill="text" onClick={onSkip} type="button" data-testid={selectors.pages.Login.skip}> <Button
className={styles.skipButton}
fill="text"
onClick={onSkip}
type="button"
data-testid={selectors.pages.Login.skip}
>
Skip Skip
</Button> </Button>
</Tooltip> </Tooltip>

View File

@ -83,5 +83,9 @@ export const getStyles = (theme: GrafanaTheme2) => {
justifyContent: 'center', justifyContent: 'center',
width: '100%', width: '100%',
}), }),
skipButton: css({
alignSelf: 'flex-start',
}),
}; };
}; };