mirror of
https://github.com/wah-su/mstickers.git
synced 2025-05-05 04:19:36 +05:00
center stickers in pack preview on mobile
This commit is contained in:
parent
a2a64f49bb
commit
31f4aee1e8
3 changed files with 14 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue