Skip to content

Commit 0da1a12

Browse files
committed
chore: polish styling
1 parent 51c88c2 commit 0da1a12

File tree

3 files changed

+25
-21
lines changed

3 files changed

+25
-21
lines changed

web/src/routes/root/ChatTab/index.module.css

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,6 @@
6565
background-color: var(--bg-primary);
6666
border: 1px solid var(--border-color);
6767
border-radius: 5px;
68-
z-index: 1;
6968
padding: 0.5rem;
7069
}
7170

web/src/routes/root/Sidebar/index.module.css

Lines changed: 21 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
.sidebar {
2+
width: 20vw;
3+
max-height: 100%;
24
padding: 10px;
35
border: 1px solid rgba(255, 255, 255, .2);
46
background-color: var(--bg-primary);
@@ -11,22 +13,6 @@
1113
text-decoration: none;
1214
}
1315

14-
.convList {
15-
display: flex;
16-
height: 100%;
17-
flex-direction: column;
18-
overflow: auto;
19-
scrollbar-color: var(--border-color) transparent;
20-
scrollbar-width: thin;
21-
}
22-
23-
.sidebarDateGroup {
24-
color: var(--text-3);
25-
text-align: start;
26-
margin: 10px;
27-
margin-top: 20px;
28-
}
29-
3016
.sidebarButton {
3117
height: 2rem;
3218
margin: 2px;
@@ -45,6 +31,25 @@
4531
background-color: var(--bg-secondary);
4632
}
4733

34+
.convList {
35+
display: flex;
36+
height: 100%;
37+
flex-direction: column;
38+
overflow-y: auto;
39+
overflow-x: visible;
40+
scrollbar-color: var(--border-color) transparent;
41+
scrollbar-width: thin;
42+
}
43+
44+
.sidebarDateGroup {
45+
color: var(--text-3);
46+
text-align: start;
47+
margin: 10px;
48+
margin-top: 20px;
49+
}
50+
51+
52+
4853
.sidebarBottom {
4954
margin-top: auto;
5055
width: 90%;

web/src/routes/root/index.css

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,15 +43,15 @@
4343
}
4444

4545
.App {
46-
text-align: center;
47-
display: flex;
48-
background-color: var(--bg-primary);
49-
color: var(--text-primary);
5046
position: absolute;
5147
top: 0;
5248
bottom: 0;
5349
left: 0;
5450
right: 0;
51+
text-align: center;
52+
display: flex;
53+
background-color: var(--bg-primary);
54+
color: var(--text-primary);
5555
}
5656

5757
.App-logo {

0 commit comments

Comments
 (0)