Skip to content

Commit

Permalink
SDSS-827: callout alignment
Browse files Browse the repository at this point in the history
  • Loading branch information
jenbreese committed Aug 14, 2023
1 parent c4d8814 commit 3506903
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 9 deletions.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,13 @@

blockquote {
margin: 0;
display: inline-block;
}

.blockquote-wrapper {
display: flex;
max-width: 1000px;
margin: 0 auto;
}

.decoration {
Expand All @@ -19,6 +26,7 @@
position: relative;
top: -40px;
margin-right: 1rem;
display: inline-block;
}

.su-callout-author {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,14 @@


<div {{ attributes }}>
<span class="decoration">&#8220;</span>
<blockquote class="callout-quote su-callout-quote">
<p>{{ content.su_callout_quote|render|striptags("<drupal-render-placeholder>")|trim }}</p>
<cite>
<span class="su-callout-author">{{ content.su_callout_author|render|striptags("<drupal-render-placeholder>")|trim }}</span>
<span class="su-callout-author-title">{{ content.su_callout_author_title|render|striptags("<drupal-render-placeholder>")|trim }}</span>
</cite>
</blockquote>
<div class="blockquote-wrapper">
<span class="decoration">&#8220;</span>
<blockquote class="callout-quote su-callout-quote">
<p>{{ content.su_callout_quote|render|striptags("<drupal-render-placeholder>")|trim }}</p>
<cite>
<span class="su-callout-author">{{ content.su_callout_author|render|striptags("<drupal-render-placeholder>")|trim }}</span>
<span class="su-callout-author-title">{{ content.su_callout_author_title|render|striptags("<drupal-render-placeholder>")|trim }}</span>
</cite>
</blockquote>
</div>
</div>

0 comments on commit 3506903

Please sign in to comment.