Skip to content

Commit 25048e0

Browse files
committed
🎨 style: button, forminput 크기 조정
1 parent a7a7ba3 commit 25048e0

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

src/components/common/Button.module.scss

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
@use '../../assets/styles/variables.scss' as *;
22

33
.button {
4-
max-width: 720px;
54
width: 100%;
65
height: 56px;
76
padding: 14px 24px;
@@ -43,7 +42,6 @@
4342
margin: 0 auto;
4443
}
4544

46-
4745
&--confirm {
4846
width: 120px;
4947
height: 40px;
@@ -53,7 +51,7 @@
5351
}
5452

5553
&--delete {
56-
max-width: 92px;
54+
width: inherit;
5755
height: 39px;
5856
padding: 7px 16px;
5957
border-radius: 6px;
@@ -63,15 +61,15 @@
6361
@media (min-width: 768px) and (max-width: 1023px) {
6462
&--primary,
6563
&--delete {
66-
max-width: 720px;
64+
min-width: 720px;
6765
}
6866
}
6967

7068
@media (max-width: 767px) {
7169
&,
7270
&--primary,
7371
&--delete {
74-
max-width: 320px;
72+
min-width: 320px;
7573
}
7674
}
7775
}

src/components/common/FormInput.module.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@
6969

7070
@media (max-width: 767px) {
7171
& {
72-
max-width: 320px;
72+
min-width: 320px;
7373
}
7474
}
7575
}

0 commit comments

Comments
 (0)