mirror of
https://github.com/logto-io/logto.git
synced 2025-01-06 20:40:08 -05:00
style(console): form and privew content margin-bottom (#2538)
This commit is contained in:
parent
3fc18f79b6
commit
1d64ded7eb
2 changed files with 8 additions and 7 deletions
|
@ -21,14 +21,15 @@
|
|||
.contentTop {
|
||||
display: flex;
|
||||
flex: 1;
|
||||
margin-bottom: _.unit(6);
|
||||
|
||||
&.withSubmitActionBar {
|
||||
margin-bottom: _.unit(3);
|
||||
}
|
||||
|
||||
.form {
|
||||
flex: 1;
|
||||
margin: 0 _.unit(3) _.unit(6) 0;
|
||||
|
||||
&.withSubmitActionBar {
|
||||
margin-bottom: _.unit(3);
|
||||
}
|
||||
margin-right: _.unit(3);
|
||||
|
||||
> :not(:first-child) {
|
||||
margin-top: _.unit(3);
|
||||
|
|
|
@ -146,9 +146,9 @@ const SignInExperience = () => {
|
|||
{!data && error && <div>{`error occurred: ${error.body?.message ?? error.message}`}</div>}
|
||||
{data && defaultFormData && (
|
||||
<div className={styles.content}>
|
||||
<div className={styles.contentTop}>
|
||||
<div className={classNames(styles.contentTop, isDirty && styles.withSubmitActionBar)}>
|
||||
<FormProvider {...methods}>
|
||||
<form className={classNames(styles.form, isDirty && styles.withSubmitActionBar)}>
|
||||
<form className={styles.form}>
|
||||
{/* Todo: LOG-4766 Add Constants To Guard Router Path */}
|
||||
<Branding isActive={tab === 'branding'} />
|
||||
<SignUpAndSignIn isActive={tab === 'sign-up-and-sign-in'} />
|
||||
|
|
Loading…
Reference in a new issue