Skip to content

Commit 84cb73f

Browse files
committed
fix(unity-bootstrap-theme): blockquotes in mobile view too compressed, need to stack
1 parent c7f3718 commit 84cb73f

File tree

1 file changed

+16
-5
lines changed

1 file changed

+16
-5
lines changed

packages/unity-bootstrap-theme/src/scss/extends/_blockquotes.scss

Lines changed: 16 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ blockquote:before {
6868

6969
}
7070

71+
7172
.citation {
7273
display: flex;
7374

@@ -182,19 +183,29 @@ blockquote:before {
182183
3. Blockquote, mobile only
183184
------------------------------------------------------------------- */
184185

186+
185187
@include media-breakpoint-down(sm) {
186-
.uds-blockquote.no-cite.with-image {
188+
.uds-blockquote, .uds-blockquoteAnimated {
187189
display: flex;
188190
flex-direction: column;
189-
align-items: center;
191+
align-items: flex-start;
190192

191-
blockquote,
192-
h3 {
193-
text-align: center;
193+
svg {
194+
margin-bottom: $uds-size-spacing-1;
195+
width: $uds-size-spacing-5;
196+
}
197+
198+
blockquote {
199+
width: 100%;
200+
}
201+
202+
.citation {
203+
width: 100%;
194204
}
195205
}
196206
}
197207

208+
198209
/*------------------------------------------------------------------
199210
4. Blockquote, desktop
200211
------------------------------------------------------------------- */

0 commit comments

Comments
 (0)