update ui

This commit is contained in:
Simon Vieille 2022-09-14 11:02:41 +02:00
parent ec8f1d7fca
commit 94bc6a0317
Signed by: deblan
GPG key ID: 579388D585F70417

View file

@ -16,6 +16,7 @@ class PxImage {
loader.onload = function() {
image.style.backgroundImage = 'url(' + source + ')'
image.style.backgroundSize = 'cover'
image.style.backgroundPosition = 'center'
}
loader.src = source