Skip to content

Commit dfc1ece

Browse files
authored
Merge pull request DSpace#3373 from DanGastardelli/AdjustTextNotThumbnail
Adjust the font size of the 'No thumbnails available' text.
2 parents cef7cae + fa723c1 commit dfc1ece

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
@@ -212,15 +212,31 @@ ds-dynamic-form-control-container.d-none {
212212
}
213213

214214
.thumb-font-2 {
215-
.thumbnail-placeholder {
216-
font-size: 0.9rem;
217-
padding: 0.125rem;
215+
.thumbnail-placeholder {
216+
@media screen and (max-width: map-get($grid-breakpoints, sm)) {
217+
font-size: 0.4rem;
218+
padding: 0.1rem;
218219
}
220+
@media screen and (min-width: map-get($grid-breakpoints, sm)) and (max-width: map-get($grid-breakpoints, lg)) {
221+
font-size: 0.7rem;
222+
padding: 0.1rem;
223+
}
224+
font-size: 1rem;
225+
padding: 0.5rem;
226+
}
219227
}
220228

221229
.thumb-font-3 {
222230
.thumbnail-placeholder {
223-
font-size: 1.25rem;
231+
@media screen and (max-width: map-get($grid-breakpoints, sm)) {
232+
font-size: 0.4rem;
233+
padding: 0.1rem;
234+
}
235+
@media screen and (min-width: map-get($grid-breakpoints, sm)) and (max-width: map-get($grid-breakpoints, lg)) {
236+
font-size: 0.7rem;
237+
padding: 0.1rem;
238+
}
239+
font-size: 1rem;
224240
padding: 0.5rem;
225241
}
226242
}

0 commit comments

Comments
 (0)