Skip to content

Commit c6504b2

Browse files
committed
update
1 parent c8881b9 commit c6504b2

File tree

3 files changed

+19
-21
lines changed

3 files changed

+19
-21
lines changed

Lib/profiling/sampling/_flamegraph_assets/flamegraph.css

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,13 +171,27 @@ html, body {
171171
width: var(--sidebar-width);
172172
background: var(--bg-secondary);
173173
border-right: 1px solid var(--border);
174+
scrollbar-color: var(--border) var(--bg-secondary);
174175
display: flex;
175176
flex-direction: column;
176177
flex-shrink: 0;
177178
overflow: hidden;
178179
position: relative;
179180
}
180181

182+
.sidebar::-webkit-scrollbar {
183+
height: 6px;
184+
}
185+
186+
.sidebar::-webkit-scrollbar-thumb {
187+
background: var(--border);
188+
border-radius: 3px;
189+
}
190+
191+
.sidebar::-webkit-scrollbar-thumb:hover {
192+
background: var(--text-muted);
193+
}
194+
181195
.sidebar.collapsed {
182196
width: var(--sidebar-collapsed) !important;
183197
transition: width var(--transition-normal);
@@ -748,6 +762,7 @@ body.resizing-sidebar {
748762
min-width: 0;
749763
overflow: hidden;
750764
background: var(--bg-primary);
765+
scrollbar-color: var(--border) var(--bg-secondary);
751766
position: relative;
752767
}
753768

Lib/profiling/sampling/_heatmap_assets/heatmap.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -813,6 +813,10 @@
813813
}
814814

815815
/* Scrollbar Styling */
816+
.line-content {
817+
scrollbar-color: var(--border) var(--bg-secondary);
818+
}
819+
816820
.line-content::-webkit-scrollbar {
817821
height: 6px;
818822
}

Lib/profiling/sampling/_shared_assets/base.css

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -410,27 +410,6 @@ a.toolbar-btn:focus-visible {
410410
outline-offset: 2px;
411411
}
412412

413-
/* --------------------------------------------------------------------------
414-
Scrollbar
415-
-------------------------------------------------------------------------- */
416-
* {
417-
scrollbar-color: var(--border) var(--bg-secondary);
418-
}
419-
420-
::-webkit-scrollbar {
421-
width: 8px;
422-
height: 8px;
423-
}
424-
425-
::-webkit-scrollbar-thumb {
426-
background: var(--border);
427-
border-radius: 4px;
428-
}
429-
430-
::-webkit-scrollbar-thumb:hover {
431-
background: var(--text-muted);
432-
}
433-
434413
/* --------------------------------------------------------------------------
435414
Shared Responsive
436415
-------------------------------------------------------------------------- */

0 commit comments

Comments
 (0)