🐞 fix: Pullquote block fixes
Sync TODOs with Issues / sync_todos (push) Successful in 6s

This commit is contained in:
Keith Solomon
2026-06-20 10:43:34 -05:00
parent d64e9dc3c0
commit 8328702a9c
3 changed files with 39 additions and 35 deletions
+2
View File
@@ -34,6 +34,8 @@ main#maincontent {
max-width: 80.5rem; max-width: 80.5rem;
padding-inline: clamp(1.5rem, 5vw, 3rem); padding-inline: clamp(1.5rem, 5vw, 3rem);
width: 100%; width: 100%;
&.wider { max-width: 85rem; }
} }
.section { .section {
+13 -11
View File
@@ -3,33 +3,34 @@
border-bottom: 16px solid var(--color-cwc-blue-03); border-bottom: 16px solid var(--color-cwc-blue-03);
position: relative; position: relative;
overflow: hidden; overflow: hidden;
}
.pull-quote__vector { .pull-quote__vector {
inset: 0; inset: 0;
pointer-events: none; pointer-events: none;
position: absolute; position: absolute;
z-index: 0; z-index: 0;
} }
.pull-quote__vector img { .pull-quote__vector img {
display: block; display: block;
height: auto; height: 100%;
object-fit: cover;
width: 100%; width: 100%;
} }
.pull-quote__content { .pull-quote__content {
padding: 5rem 0;
position: relative; position: relative;
z-index: 1; z-index: 1;
} }
.pull-quote__text { .pull-quote__text {
font-family: var(--font-quincy); font-family: var(--font-quincy);
font-size: var(--text-34px); font-size: var(--text-34px);
font-weight: 500; font-weight: 500;
line-height: 1.3; line-height: 1;
padding: 6rem 0;
text-align: center; text-align: center;
text-wrap: balance;
strong, b { strong, b {
color: var(--color-cwc-blue-02); color: var(--color-cwc-blue-02);
@@ -40,4 +41,5 @@
color: var(--color-cwc-blue-01); color: var(--color-cwc-blue-01);
margin: 0; margin: 0;
} }
}
} }
+2 -2
View File
@@ -34,8 +34,8 @@ $wrapper = blockWrapperAttributes( $classes, $is_preview );
</div> </div>
<?php endif; ?> <?php endif; ?>
<div class="container pull-quote__content"> <div class="container wider pull-quote__content">
<div class="pull-quote__text container"> <div class="pull-quote__text">
<?php echo wp_kses_post( $quote_text ); ?> <?php echo wp_kses_post( $quote_text ); ?>
</div> </div>
</div> </div>