fix: scale mobile pull quote proportionally

This commit is contained in:
Keith Solomon
2026-06-27 18:37:18 -05:00
parent 97ebffb70d
commit 15e832645c
2 changed files with 31 additions and 12 deletions
+4 -8
View File
@@ -47,18 +47,14 @@
@media (max-width: 767px) {
.pull-quote {
background: color-mix(in oklch, var(--color-cwc-blue-03) 30%, white);
border-bottom-width: 0.75rem;
height: clamp(18rem, 89.8vw, 22.5625rem);
border-bottom-width: 1rem;
height: 89.8vw;
}
.pull-quote .pull-quote__vector img {
height: 118%;
left: -9%;
max-width: none;
height: 100%;
object-fit: fill;
object-position: 3% 42%;
position: relative;
width: 118%;
width: 100%;
}
.pull-quote .pull-quote__content {