0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-03-11 02:12:21 -05:00

Corrected signup card css for responsive images (#17122)

no issue

The padding for the background image was wrong on smaller devices
This commit is contained in:
Simon Backx 2023-06-23 15:36:26 +02:00 committed by GitHub
parent 1cbbe91a63
commit 24df9628db
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -349,17 +349,17 @@
max-width: unset;
}
.kg-signup-card-image:not(.kg-content-wide .kg-signup-card-image) {
.kg-signup-card-content .kg-signup-card-image:not(.kg-content-wide .kg-signup-card-content .kg-signup-card-image) {
height: auto;
min-height: unset;
aspect-ratio: 1 / 1;
}
.kg-content-wide .kg-signup-card-image {
.kg-content-wide .kg-signup-card-content .kg-signup-card-image {
padding: 2.4rem 0 0;
}
.kg-content-wide.kg-swapped .kg-signup-card-image {
.kg-content-wide.kg-swapped .kg-signup-card-content .kg-signup-card-image {
padding: 0 0 2.4rem;
}