Skip to content

Commit 70364b6

Browse files
authored
Merge pull request #95 from codeit-maso/feature/Yun
🐛 fix: 모바일에서 모달창 화면 깨지는 현상 수정
2 parents eb1ed29 + 83c9cc6 commit 70364b6

File tree

2 files changed

+5
-13
lines changed

2 files changed

+5
-13
lines changed

src/components/Modal/Modal.module.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@
6969
-webkit-box-orient: vertical;
7070
-webkit-line-clamp: 1;
7171
line-clamp: 1;
72-
72+
word-break: break-all;
7373
span {
7474
@include font-20-bold;
7575
}

src/components/common/Button.module.scss

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -77,23 +77,15 @@
7777
}
7878

7979
@media (max-width: 767px) {
80-
&,
81-
&--primary,
82-
&--delete {
83-
min-width: 320px;
84-
}
85-
8680
&--primary {
8781
margin-bottom: 24px;
8882
}
8983
}
9084

91-
@media (max-width: 1024px) {
92-
.button {
93-
&--delete {
94-
width: 100%;
95-
height: 55px;
96-
}
85+
@media (max-width: 1023px) {
86+
&--delete {
87+
width: 100%;
88+
height: 55px;
9789
}
9890
}
9991
}

0 commit comments

Comments
 (0)