Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: 친구요청 방지 모달 z-index 적용 #438

Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion frontend/src/header/mainHeader/header.js
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ export default function MainHeader($container) {
headerElement.insertAdjacentHTML(
"beforeend",
`
<div id="warning-modal-wrapper" style="display: ${display}; position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 70vw; height: 30vh; background: rgba(10, 10, 10, 0.95); border-radius: 3vh; border: 1vh #FBFF3E solid;">
<div id="warning-modal-wrapper" style="display: ${display}; position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 70vw; height: 30vh; background: rgba(10, 10, 10, 0.95); border-radius: 3vh; border: 1vh #FBFF3E solid; z-index: 10">
<div style="position: absolute; left: 120px; top: 80px; text-align: center; color: white; font-size: 40px; font-family: Galmuri11, serif; font-weight: 400; word-wrap: break-word;">이미 보냈다.</div>
<!-- left: calc(50% + 25vw - 1vh); : left기준으로 모달이 50% 위치에 우선 있고 모달의 너비는 width: 70vw 이니까 x의 위치를 모달 오른쪽 테두리로부터 10vw 만큼 주고 싶었기에 border : 1vh까지 계산하여 (50% + 25vw - 1vh)를 주었습니다. -->
<img id="warning-modal-close" alt="setting" style="position: absolute; height: 9vh; left: calc(50% + 25vw - 1vh); top: 2.5vh;" src="../../../assets/images/close.png" />
Expand Down
Loading