Skip to content

Commit 987a131

Browse files
committed
feat(thumbnail): add size fallback
1 parent 2b4b30b commit 987a131

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

core/src/components/thumbnail/thumbnail.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313

1414
display: block;
1515

16-
width: var(--ion-thumbnail-width);
17-
height: var(--ion-thumbnail-height);
16+
width: var(--ion-thumbnail-width, 48px);
17+
height: var(--ion-thumbnail-height, 48px);
1818
}
1919

2020
::slotted(ion-img),

0 commit comments

Comments
 (0)