Fix horizontal scrolling caused by scaling on the subscribe CTA h2 (#765)

This commit is contained in:
Paul Davis 2021-03-12 14:53:43 +00:00 committed by GitHub
parent 573e384381
commit 48d06196c2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 11 additions and 3 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -1386,9 +1386,16 @@ Ghost editor. */
background: var(--color-darkgrey); background: var(--color-darkgrey);
} }
/* Increases the default h2 size by 15%, for small and large screens */
.footer-cta h2 { .footer-cta h2 {
margin: 0 0 30px; margin: 0 0 30px;
transform: scale(1.15); font-size: 3.2rem;
}
@media (max-width: 600px) {
.footer-cta h2 {
font-size: 2.65rem;
}
} }
.footer-cta-button { .footer-cta-button {