fix(client): login cta in multiple places (#55001)

This commit is contained in:
Huyen Nguyen
2024-05-31 16:39:00 -05:00
committed by GitHub
parent ccc1d81d90
commit 6ffbbed526
4 changed files with 10 additions and 3 deletions
+1 -1
View File
@@ -173,7 +173,7 @@ figcaption.caption {
.as-seen-in,
.certification-section,
.testimonials {
padding-block: 4vw;
padding: 4vw 15px;
}
.certification-section {
+1
View File
@@ -265,6 +265,7 @@ fieldset[disabled] .btn {
background-image: linear-gradient(#fecc4c, #ffac33);
border: 3px solid #feac32;
color: #0a0a23 !important;
text-align: center;
}
.btn-cta:hover,
.btn-cta:focus,
@@ -69,6 +69,12 @@
transition: width 0ms linear;
}
/* The maximum width of login button is 500px, which is set in global.css.
An override is needed as 500px is not enough to allow the button to span the modal width. */
.completion-modal-login-btn .signup-btn {
max-width: 100%;
}
@media screen and (max-width: 991px) {
.progress-bar-wrap,
.progress-bar-background {
@@ -206,10 +206,10 @@ class CompletionModal extends Component<
</Modal.Body>
<Modal.Footer>
{isSignedIn ? null : (
<>
<div className='completion-modal-login-btn'>
<Login block={true}>{t('learn.sign-in-save')}</Login>
<Spacer size='xxSmall' />
</>
</div>
)}
<Button
block={true}