Skip to content

Commit 2428dfe

Browse files
authored
Merge pull request DSpace#4337 from DSpace/backport-3373-to-dspace-8_x
[Port dspace-8_x] Adjust the font size of the 'No thumbnails available' text.
2 parents 67563e3 + e579725 commit 2428dfe

1 file changed

Lines changed: 20 additions & 4 deletions

File tree

src/styles/_global-styles.scss

Lines changed: 20 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -230,15 +230,31 @@ ds-dynamic-form-control-container.d-none {
230230
}
231231

232232
.thumb-font-2 {
233-
.thumbnail-placeholder {
234-
font-size: 0.9rem;
235-
padding: 0.125rem;
233+
.thumbnail-placeholder {
234+
@media screen and (max-width: map-get($grid-breakpoints, sm)) {
235+
font-size: 0.4rem;
236+
padding: 0.1rem;
236237
}
238+
@media screen and (min-width: map-get($grid-breakpoints, sm)) and (max-width: map-get($grid-breakpoints, lg)) {
239+
font-size: 0.7rem;
240+
padding: 0.1rem;
241+
}
242+
font-size: 1rem;
243+
padding: 0.5rem;
244+
}
237245
}
238246

239247
.thumb-font-3 {
240248
.thumbnail-placeholder {
241-
font-size: 1.25rem;
249+
@media screen and (max-width: map-get($grid-breakpoints, sm)) {
250+
font-size: 0.4rem;
251+
padding: 0.1rem;
252+
}
253+
@media screen and (min-width: map-get($grid-breakpoints, sm)) and (max-width: map-get($grid-breakpoints, lg)) {
254+
font-size: 0.7rem;
255+
padding: 0.1rem;
256+
}
257+
font-size: 1rem;
242258
padding: 0.5rem;
243259
}
244260
}

0 commit comments

Comments
 (0)