center stickers in pack preview on mobile

This commit is contained in:
Kentai Radiquum 2024-12-29 13:55:39 +05:00
parent a2a64f49bb
commit 31f4aee1e8
Signed by: Radiquum
GPG key ID: 858E8EE696525EED
3 changed files with 14 additions and 2 deletions

View file

@ -133,7 +133,7 @@ function updatePackInfo(data) {
const stickerImage = document.createElement("img");
stickerImage.src = getStickerImage(sticker.id);
stickerImage.alt = sticker.body;
stickerImage.classList.add('object-contain', 'w-20')
stickerImage.classList.add('object-contain', 'md:w-20', "w-24")
packStickers.appendChild(stickerImage);
}
}