mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-11-08 22:02:54 +00:00
Merge branch 'unstable' into codex/fix-profile-modal-z-index-issue-iidrqt
This commit is contained in:
7 files changed
+114
-28
No files matched your search
@@ -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 =
|
||||
|
||||
Reference in new issue
Block a user