mirror of
https://github.com/wah-su/mstickers.git
synced 2025-05-01 02:19:36 +05:00
add sticker count
This commit is contained in:
parent
101036f9c7
commit
a2a64f49bb
3 changed files with 6 additions and 10 deletions
|
@ -3,6 +3,8 @@ const packName = document.getElementById("preview_sticker_pack_name");
|
|||
const packAuthor_by = document.getElementById("preview_sticker_pack_author_by");
|
||||
const packAuthor = document.getElementById("preview_sticker_pack_author");
|
||||
const packImage = document.getElementById("preview_sticker_pack_image");
|
||||
const packStickersC = document.getElementById("preview_sticker_pack_stickers_container");
|
||||
const packStickersCount = document.getElementById("preview_sticker_pack_stickers_count");
|
||||
const packStickers = document.getElementById("preview_sticker_pack_stickers");
|
||||
const packLinkTG = document.getElementById("preview_sticker_pack_add_tg");
|
||||
const packLinkFC = document.getElementById("preview_sticker_pack_add_fc");
|
||||
|
@ -124,6 +126,8 @@ function updatePackInfo(data) {
|
|||
packLinkCI.classList.add("flex");
|
||||
}
|
||||
|
||||
packStickersC.classList.remove('hidden')
|
||||
packStickersCount.innerHTML = `(${data.stickers.length})`;
|
||||
for (let i = 0; i < data.stickers.length; i++) {
|
||||
const sticker = data.stickers[i];
|
||||
const stickerImage = document.createElement("img");
|
||||
|
|
|
@ -588,10 +588,6 @@ video {
|
|||
}
|
||||
}
|
||||
|
||||
.static {
|
||||
position: static;
|
||||
}
|
||||
|
||||
.fixed {
|
||||
position: fixed;
|
||||
}
|
||||
|
@ -600,10 +596,6 @@ video {
|
|||
position: absolute;
|
||||
}
|
||||
|
||||
.sticky {
|
||||
position: sticky;
|
||||
}
|
||||
|
||||
.inset-0 {
|
||||
inset: 0px;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue