Skip to content

Commit e105ffc

Browse files
committed
feat: set defaults to 300x300 thumbnails
1 parent 3b8dd65 commit e105ffc

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

src/packages/media/imaging/components/imaging-thumbnail.element.ts

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,18 @@ export class UmbImagingThumbnailElement extends UmbLitElement {
1616
unique = '';
1717

1818
/**
19-
* The width of the thumbnail.
19+
* The width of the thumbnail in pixels.
20+
* @default 300
2021
*/
2122
@property({ type: Number })
22-
width = 400;
23+
width = 300;
2324

2425
/**
25-
* The height of the thumbnail.
26+
* The height of the thumbnail in pixels.
27+
* @default 300
2628
*/
2729
@property({ type: Number })
28-
height = 400;
30+
height = 300;
2931

3032
/**
3133
* The mode of the thumbnail.

0 commit comments

Comments
 (0)