Skip to content

Commit 599f783

Browse files
committed
๐ŸŽจ style: Modal ์Šคํƒ€์ผ ์ˆœ์„œ ๋ณ€๊ฒฝ
1 parent 1119669 commit 599f783

File tree

1 file changed

+12
-14
lines changed

1 file changed

+12
-14
lines changed

โ€Žsrc/components/Modal/Modal.module.scssโ€Ž

Lines changed: 12 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,42 +1,40 @@
11
@use '../../assets/styles/variables.scss' as *;
22

33
.backdrop {
4+
display: flex;
45
position: fixed;
56
top: 0;
67
left: 0;
8+
z-index: 999;
79
width: 100vw;
810
height: 100vh;
9-
1011
background-color: rgba(0, 0, 0, 0.6);
11-
display: flex;
1212
justify-content: center;
1313
align-items: center;
14-
z-index: 999;
1514
}
1615

1716
.modal {
1817
display: flex;
18+
flex-direction: column;
19+
overflow: hidden;
1920
position: fixed;
2021
top: 50%;
2122
left: 50%;
22-
transform: translate(-50%, -50%);
2323
z-index: 1000;
24-
gap: 16px;
2524
width: 600px;
2625
height: 476px;
27-
background-color: $white;
26+
padding: 40px;
2827
border-radius: 20px;
28+
background-color: $white;
29+
transform: translate(-50%, -50%);
2930
box-shadow: 0px 2px 12px 0px rgba(0, 0, 0, 0.08);
30-
31-
flex-direction: column;
32-
overflow: hidden;
33-
padding: 40px;
31+
gap: 16px;
3432

3533
&__header {
3634
display: flex;
37-
gap: 16px;
3835
justify-content: space-between;
3936
align-items: center;
37+
gap: 16px;
4038
padding-bottom: 16px;
4139
border-bottom: 1px solid $gray-200;
4240
}
@@ -59,18 +57,18 @@
5957

6058
&__user-info {
6159
display: flex;
62-
flex: 1;
6360
flex-direction: column;
61+
flex: 1;
6462
gap: 6px;
6563
}
6664

6765
&__profile-name {
6866
display: -webkit-box;
69-
-webkit-box-orient: vertical;
7067
overflow: hidden;
68+
@include font-20-regular;
69+
-webkit-box-orient: vertical;
7170
-webkit-line-clamp: 1;
7271
line-clamp: 1;
73-
@include font-20-regular;
7472

7573
span {
7674
@include font-20-bold;

0 commit comments

Comments
ย (0)