mirror of
https://github.com/logto-io/logto.git
synced 2024-12-30 20:33:54 -05:00
style(experience): add margin-bottom for terms checkbox on sign-in page (#6058)
This commit is contained in:
parent
53ada32251
commit
09bd183148
2 changed files with 2 additions and 0 deletions
|
@ -9,6 +9,7 @@
|
||||||
|
|
||||||
.inputField,
|
.inputField,
|
||||||
.formErrors,
|
.formErrors,
|
||||||
|
.terms,
|
||||||
.message {
|
.message {
|
||||||
margin-bottom: _.unit(4);
|
margin-bottom: _.unit(4);
|
||||||
}
|
}
|
||||||
|
|
|
@ -135,6 +135,7 @@ const IdentifierSignInForm = ({ className, autoFocus, signInMethods }: Props) =>
|
||||||
*/}
|
*/}
|
||||||
<TermsAndPrivacyCheckbox
|
<TermsAndPrivacyCheckbox
|
||||||
className={classNames(
|
className={classNames(
|
||||||
|
styles.terms,
|
||||||
// For sign in, only show the terms checkbox if the terms policy is manual
|
// For sign in, only show the terms checkbox if the terms policy is manual
|
||||||
(showSingleSignOnForm || agreeToTermsPolicy !== AgreeToTermsPolicy.Manual) &&
|
(showSingleSignOnForm || agreeToTermsPolicy !== AgreeToTermsPolicy.Manual) &&
|
||||||
styles.hidden
|
styles.hidden
|
||||||
|
|
Loading…
Reference in a new issue