Skip to content

Commit 4fa8172

Browse files
authored
Merge pull request #109 from codeit-sprint-part3-6team/#108_사이드바-버튼-UI-개선
💄 사이드바 UI 깨짐 수정
2 parents 781d9a8 + f1b29e9 commit 4fa8172

File tree

1 file changed

+31
-3
lines changed

1 file changed

+31
-3
lines changed

src/components/common/sidebar/Sidebar.module.css

Lines changed: 31 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@
77
border-right: 1px solid var(--gray-medium);
88
}
99

10+
.menu {
11+
width: 100%;
12+
}
13+
1014
.logo {
1115
display: flex;
1216
align-items: center;
@@ -23,6 +27,7 @@
2327
}
2428

2529
.color-circle {
30+
flex-shrink: 0;
2631
width: 8px;
2732
height: 8px;
2833
border-radius: 50%;
@@ -56,6 +61,10 @@
5661
gap: 8px;
5762
}
5863

64+
.menu-list-dashboard {
65+
border-radius: 4px;
66+
}
67+
5968
.menu-list-dashboard-active {
6069
background-color: var(--violet-bright);
6170
}
@@ -69,7 +78,7 @@
6978
align-items: center;
7079
border-style: none;
7180
width: 100%;
72-
height: 42px;
81+
height: 50px;
7382
padding: 8px 12px;
7483
cursor: pointer;
7584
}
@@ -78,9 +87,14 @@
7887
font-size: 18px;
7988
font-weight: 500;
8089
color: var(--gray);
90+
91+
white-space: nowrap;
92+
overflow: hidden;
93+
text-overflow: ellipsis;
8194
}
8295

8396
.crown-icon {
97+
flex-shrink: 0;
8498
display: inline-block;
8599
margin-left: 8px;
86100
vertical-align: middle;
@@ -170,7 +184,14 @@
170184

171185
.menu-list-dashboard {
172186
font-size: 16px;
173-
padding: 8px 10px;
187+
}
188+
189+
.dashboard-item {
190+
height: 42px;
191+
}
192+
193+
.dashboard-title {
194+
font-size: 16px;
174195
}
175196
}
176197

@@ -197,7 +218,8 @@
197218
}
198219

199220
.color-circle {
200-
margin: 0 0 20px 0;
221+
/* margin: 0 0 20px 0; */
222+
margin: 0;
201223
}
202224

203225
.logo {
@@ -208,6 +230,12 @@
208230
display: none;
209231
}
210232

233+
.dashboard-item {
234+
justify-content: center;
235+
width: 40px;
236+
height: 40px;
237+
}
238+
211239
.dashboard-title {
212240
display: none;
213241
}

0 commit comments

Comments
 (0)