Merge branch 'unstable' into codex/fix-profile-modal-z-index-issue-iidrqt

This commit is contained in:
thePR0M3TH3AN authored and GitHub committed 2025-10-18 15:21:56 -04:00
commit 763e726880
7 files changed
+114 -28

No files matched your search

+10 -4
View File
@@ -663,7 +663,15 @@ export class VideoCard {
alt: "Placeholder"
}
});
avatar.classList.add("author-pic", "cursor-pointer");
avatar.classList.add(
"author-pic",
"cursor-pointer",
"block",
"h-full",
"w-full",
"rounded-full",
"object-cover"
);
if (this.video.pubkey) {
avatar.dataset.pubkey = this.video.pubkey;
}
@@ -1601,10 +1609,8 @@ export class VideoCard {
} else if (badge.dataset.variant) {
delete badge.dataset.variant;
}
const peersText =
state === "healthy" && peersValue > 0 ? ` (${peersValue})` : "";
const iconPrefix = descriptor.icon ? `${descriptor.icon} ` : "";
const computedText = `${iconPrefix}WebTorrent${peersText}`;
const computedText = `${iconPrefix}WebTorrent`;
badge.textContent = text || computedText;
const tooltipValue =