Skip to content

Commit e9f2c25

Browse files
committed
Add minimum width for SVG without dimensions
1 parent c985b15 commit e9f2c25

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Umbraco.Web.UI.Client/src/packages/media/media/components/input-upload-field/preview/input-upload-field-svg.element.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ export default class UmbInputUploadFieldSvgElement extends UmbLitElement impleme
1616
static override readonly styles = [
1717
css`
1818
:host {
19+
min-width: 240px;
1920
min-height: 240px;
2021
max-height: 400px;
2122
width: fit-content;

0 commit comments

Comments
 (0)