Skip to content

Commit c8881b9

Browse files
committed
gh-142927: Add scrollbar support to Tachyon HTML dark mode
1 parent 985216c commit c8881b9

File tree

2 files changed

+22
-0
lines changed

2 files changed

+22
-0
lines changed

Lib/profiling/sampling/_shared_assets/base.css

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -410,6 +410,27 @@ 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+
413434
/* --------------------------------------------------------------------------
414435
Shared Responsive
415436
-------------------------------------------------------------------------- */
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Add scrollbar support to Tachyon HTML dark mode

0 commit comments

Comments
 (0)