Media: Prevent svg image to extend outside the editor bounds (#20346)

Prevent svg image to extend outside the editor bounds
This commit is contained in:
Alex
2025-10-01 22:02:56 -07:00
committed by GitHub
parent 78f4caa2be
commit 0d98527c58

View File

@@ -30,6 +30,7 @@ export default class UmbInputUploadFieldSvgElement extends UmbLitElement impleme
background-image: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" fill-opacity=".1"><path d="M50 0h50v50H50zM0 50h50v50H0z"/></svg>');
background-repeat: repeat;
background-size: 10px 10px;
max-width: 100%;
}
`,
];