mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-11-06 12:52:26 +00:00
Refine Video Modal moderation UI styles: blur creator avatar and fix text contrast.
This commit is contained in:
1 parent
0772d2fa09
commit
81e8b2ed40
5 files changed
+148
No files matched your search
@@ -4140,6 +4140,14 @@ export class VideoModal {
|
||||
}
|
||||
}
|
||||
|
||||
if (this.creatorAvatar) {
|
||||
if (shouldBlur) {
|
||||
this.creatorAvatar.dataset.visualState = "blurred";
|
||||
} else if (this.creatorAvatar.dataset.visualState === "blurred") {
|
||||
delete this.creatorAvatar.dataset.visualState;
|
||||
}
|
||||
}
|
||||
|
||||
if (overlay) {
|
||||
// Changed logic: Always show the bar if moderation is active, even if overridden
|
||||
if (showModeration) {
|
||||
|
||||
Reference in new issue
Block a user