Skip to content

Commit 2eed8f1

Browse files
DanGastardelligithub-actions[bot]
authored andcommitted
Changed the implementation of changing the text font size when there is no thumbnail.
(cherry picked from commit 3cd5432)
1 parent be2bf98 commit 2eed8f1

2 files changed

Lines changed: 8 additions & 1 deletion

File tree

src/app/thumbnail/thumbnail.component.scss

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ img {
3434
justify-content: center;
3535
align-items: center;
3636
text-align: center;
37-
font-size: 14px;
3837
}
3938
}
4039
}

src/styles/_global-styles.scss

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -238,6 +238,14 @@ ds-dynamic-form-control-container.d-none {
238238

239239
.thumb-font-3 {
240240
.thumbnail-placeholder {
241+
@media screen and (max-width: map-get($grid-breakpoints, sm)) {
242+
font-size: 0.4rem;
243+
padding: 0.1rem;
244+
}
245+
@media screen and (min-width: map-get($grid-breakpoints, sm)) and (max-width: map-get($grid-breakpoints, lg)) {
246+
font-size: 0.875rem;
247+
padding: 0.1rem;
248+
}
241249
font-size: 1.25rem;
242250
padding: 0.5rem;
243251
}

0 commit comments

Comments
 (0)