Skip to content

Commit

Permalink
[Fix] 점수 입력 모달 클릭 안 됨 #1190 (#1191)
Browse files Browse the repository at this point in the history
* [Fix] div 복원 #1190

* [Fix] fallback이미지 추가 #1190
  • Loading branch information
Clearsu authored Dec 21, 2023
1 parent f306480 commit 9af59fe
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
4 changes: 2 additions & 2 deletions components/modal/statChange/StatChangeModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export default function StatChangeModal({ gameId, mode }: Exp) {
};

return (
<>
<div>
<div
className={`${styles.fixedContainer} ${styles.front}`}
onClick={closeModal}
Expand All @@ -68,6 +68,6 @@ export default function StatChangeModal({ gameId, mode }: Exp) {
)}
<div className={styles.guide}>화면을 클릭해주세요!</div>
</div>
</>
</div>
);
}
6 changes: 5 additions & 1 deletion components/tournament/TournamentMatch.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,11 @@ function TournamentMatchParty({
position: relative 혹은 absolute 가 적용되어있어야 하는데, 그럴 경우 브라켓에서 이미지가 벗어나는
문제가 있으므로 임시 방편으로 img 태그를 사용합니다. */}
<div className={styles.imageWrap}>
<img src={party.picture} className={styles.playerImage} alt='player' />
<img
src={party.picture ?? 'image/match_qustion.png'}
className={styles.playerImage}
alt='player'
/>
</div>
<div className={styles.partyName}>{party.name || teamNameFallback}</div>
<div className={styles.score}>
Expand Down

0 comments on commit 9af59fe

Please sign in to comment.