Skip to content

Commit e53a040

Browse files
committed
style tweaks
1 parent 17ad689 commit e53a040

File tree

4 files changed

+33
-11
lines changed

4 files changed

+33
-11
lines changed

src/pages/Sidebar/containers/TabsList/Tab/Tab.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
/* width: 100%; */
1515
display: flex;
1616
align-items: center;
17-
padding: 6px 6px 6px 8px;
17+
padding: 6px 6px;
1818
cursor: default;
1919
color: rgb(60, 64, 67);
2020
/* border-top-left-radius: 8px;
@@ -27,7 +27,7 @@
2727
}
2828

2929
.TabContainer.isPinned {
30-
padding: 8px;
30+
padding: 6px;
3131
}
3232

3333
.TabContainer.Dark {

src/pages/Sidebar/containers/TabsList/TabsList.css

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -46,17 +46,17 @@
4646
font-size: 0.8rem;
4747
}
4848

49-
.PinnedUnpinnedDivider {
50-
width: 100%;
51-
height: 0.5px;
52-
background-color: #999;
53-
margin-top: 6px;
54-
margin-bottom: 2px;
55-
}
56-
5749
.PinnedTabsContainer {
5850
width: 100%;
5951
display: flex;
6052
align-items: center;
6153
flex-wrap: wrap;
6254
}
55+
56+
.PinnedUnpinnedDivider {
57+
width: 100%;
58+
height: 0.5px;
59+
background-color: #999;
60+
margin-top: 6px;
61+
margin-bottom: 6px;
62+
}

src/pages/Sidebar/containers/TabsList/TabsList.jsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,8 @@ class TabsList extends Component {
187187
);
188188
})}
189189

190+
<div className="PinnedUnpinnedDivider"></div>
191+
190192
<div
191193
className={classNames({
192194
NewTabButtonContainer: true,
@@ -201,7 +203,7 @@ class TabsList extends Component {
201203
})}
202204
onClick={(e) => this.openNewTabClickedHandler(e)}
203205
>
204-
<MdAdd size={'24px'} style={{ marginRight: 5 }} />
206+
<MdAdd size={'22px'} style={{ marginRight: 3 }} />
205207
New Tab
206208
<div style={{ flex: 1 }}></div>
207209
{platformInfo && platformInfo.os && (

src/pages/Sidebar/index.css

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,23 @@ body {
99
body.Dark {
1010
background-color: rgb(36, 36, 36);
1111
}
12+
13+
/* width */
14+
::-webkit-scrollbar {
15+
width: 8px;
16+
}
17+
18+
/* Track */
19+
::-webkit-scrollbar-track {
20+
background: #f1f1f1;
21+
}
22+
23+
/* Handle */
24+
::-webkit-scrollbar-thumb {
25+
background: #888;
26+
}
27+
28+
/* Handle on hover */
29+
::-webkit-scrollbar-thumb:hover {
30+
background: #555;
31+
}

0 commit comments

Comments
 (0)