Skip to content

Commit 3256246

Browse files
committed
[fix] 모든 컴포넌트에서 모달이 화면을 덮도록 position 수정
1 parent dea5c5e commit 3256246

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

FE/src/components/Calendar/calendar.scss

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
.calendar-container {
2-
position: fixed;
3-
top: 10em;
4-
left: 50%;
2+
position: absolute;
3+
top: 12em;
4+
// left: 50%;
55
width: 100%;
66
display: flex;
77
justify-content: center;
8-
transform: translateX(-50%);
8+
align-items: center;
9+
// transform: translateX(-50%);
910
.my-calendar {
1011
width: 100%;
1112
margin: 30px;

FE/src/components/PaymentMethod/Modal/modal.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
.modal__wrapper {
2+
position: absolute;
23
width: 100%;
34
height: 100%;
45
background-color: rgba(0, 0, 0, 0.9);

0 commit comments

Comments
 (0)