0
Fork 0
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:
Xiao Yijun 2024-06-20 09:47:48 +08:00 committed by GitHub
parent 53ada32251
commit 09bd183148
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 0 deletions

View file

@ -9,6 +9,7 @@
.inputField,
.formErrors,
.terms,
.message {
margin-bottom: _.unit(4);
}

View file

@ -135,6 +135,7 @@ const IdentifierSignInForm = ({ className, autoFocus, signInMethods }: Props) =>
*/}
<TermsAndPrivacyCheckbox
className={classNames(
styles.terms,
// For sign in, only show the terms checkbox if the terms policy is manual
(showSingleSignOnForm || agreeToTermsPolicy !== AgreeToTermsPolicy.Manual) &&
styles.hidden