UX: Fixes for mobile "create account" modal (#24043)

- Don't include login buttons on mobile
- Fix padding/spacing
This commit is contained in:
Penar Musaraj 2023-10-23 10:48:46 -04:00 committed by GitHub
parent 0934cc6ece
commit f9eec939e5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 15 additions and 7 deletions

View File

@ -274,12 +274,13 @@
/>
{{/if}}
{{#unless this.hasAuthOptions}}
<div class="create-account-login-buttons">
<LoginButtons @externalLogin={{action "externalLogin"}} />
</div>
{{/unless}}
{{#if this.site.desktopView}}
{{#unless this.hasAuthOptions}}
<div class="create-account-login-buttons">
<LoginButtons @externalLogin={{action "externalLogin"}} />
</div>
{{/unless}}
{{/if}}
{{#if this.skipConfirmation}}
{{loading-spinner size="large"}}
{{/if}}

View File

@ -333,6 +333,12 @@ body.invite-page {
.toggle-password-mask {
align-self: start;
line-height: 1.4; // aligns with input description text
.ios-device & {
// reset form-item-sizing mixin styles
padding-top: 0;
padding-bottom: 0;
font-size: var(--font-0);
}
}
// admin invite page

View File

@ -212,7 +212,8 @@
border-bottom: 1px solid var(--primary-low);
}
.login-form {
margin-bottom: 0.75em;
margin-bottom: 0;
padding-bottom: 0;
}
}