From c7ef0d2f45c400796099cf3e9d4280c6d2c51d4c Mon Sep 17 00:00:00 2001 From: Jacob Overgaard <752371+iOvergaard@users.noreply.github.com> Date: Wed, 10 Jul 2024 11:01:11 +0200 Subject: [PATCH] feat: set defaults to 300x300 thumbnails --- .../imaging/components/imaging-thumbnail.element.ts | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/Umbraco.Web.UI.Client/src/packages/media/imaging/components/imaging-thumbnail.element.ts b/src/Umbraco.Web.UI.Client/src/packages/media/imaging/components/imaging-thumbnail.element.ts index caf6261772..c1c3a59275 100644 --- a/src/Umbraco.Web.UI.Client/src/packages/media/imaging/components/imaging-thumbnail.element.ts +++ b/src/Umbraco.Web.UI.Client/src/packages/media/imaging/components/imaging-thumbnail.element.ts @@ -16,16 +16,18 @@ export class UmbImagingThumbnailElement extends UmbLitElement { unique = ''; /** - * The width of the thumbnail. + * The width of the thumbnail in pixels. + * @default 300 */ @property({ type: Number }) - width = 400; + width = 300; /** - * The height of the thumbnail. + * The height of the thumbnail in pixels. + * @default 300 */ @property({ type: Number }) - height = 400; + height = 300; /** * The mode of the thumbnail.