Skip to content

Commit 07b6555

Browse files
fredtrumandurran
authored andcommitted
COMPASS-879: Add back scrollbars to 1.6 release (#903)
* COMPASS-879: Add back scrollbars to 1.6 release * cleanup rtss scrollbars * only show scrollbar on sidebar when content overflows
1 parent ad38b17 commit 07b6555

File tree

5 files changed

+9
-21
lines changed

5 files changed

+9
-21
lines changed

src/internal-packages/collection/styles/index.less

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,6 @@
1313
margin-top: 12px;
1414
font-size: 24px;
1515
}
16-
.column-container {
17-
&::-webkit-scrollbar {
18-
display: none;
19-
}
20-
}
2116

2217
.header-margin {
2318
margin-top: 50px; // size of header

src/internal-packages/home/styles/index.less

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -73,11 +73,6 @@
7373
white-space: nowrap;
7474
}
7575
}
76-
.column-container {
77-
&::-webkit-scrollbar {
78-
display: none;
79-
}
80-
}
8176

8277
.header-margin {
8378
margin-top: 50px; // size of header
@@ -243,7 +238,3 @@
243238
}
244239
}
245240
}
246-
247-
::-webkit-scrollbar {
248-
display: none;
249-
}

src/internal-packages/server-stats/styles/index.less

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,8 @@
1111
font-weight: 500;
1212
height: 100vh;
1313
min-width: 100%;
14-
overflow-x: scroll;
1514
background-color: @gray8;
1615

17-
::-webkit-scrollbar {
18-
display: none;
19-
}
20-
2116
.tab-nav-bar-header {
2217
top: 0;
2318
}
@@ -33,5 +28,8 @@
3328
overflow: scroll; // TODO: deal with scrolling
3429
display: block;
3530
padding-top: 15px;
31+
::-webkit-scrollbar {
32+
display: none;
33+
}
3634
}
3735
}

src/internal-packages/server-stats/styles/rt-lists.less

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
.rt-perf {
55
background-color: #3D4247;
66
height: auto;
7-
overflow: scroll;
7+
overflow-y: scroll;
88
padding-bottom: 100px;
99
position: absolute;
1010
top: 88px;
@@ -13,6 +13,10 @@
1313
left: 260px;
1414
}
1515

16+
.rt-perf ::-webkit-scrollbar {
17+
display: none;
18+
}
19+
1620
.rt__lists-out {
1721
display: flex;
1822
justify-content: center;

src/internal-packages/sidebar/styles/index.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
color: #bfbfbe;
1616

1717
&-content {
18-
overflow-y: scroll;
18+
overflow-y: auto;
1919
top: 114px;
2020
bottom: 0;
2121
width: 250px;

0 commit comments

Comments
 (0)