Skip to content

Commit

Permalink
fix: badge modal zindex
Browse files Browse the repository at this point in the history
  • Loading branch information
shuashuai committed Oct 18, 2024
1 parent 2114aa9 commit 43c09e8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ui/src/components/Modal/BadgeModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,9 @@ const BadgeModal: FC<BadgeModalProps> = ({ badge, visible }) => {
const LENGTH = 200;
const bgNode = document.documentElement || document.body;
const parentNode = document.getElementById('badgeModal')?.parentNode;
const badgeModalNode = document.getElementById('badgeModal');

badgeModalNode?.setAttribute('style', 'z-index: 1');

if (parentNode) {
bg1 = new AnimateGift({
Expand Down

0 comments on commit 43c09e8

Please sign in to comment.