Skip to content

Commit 75a3f69

Browse files
committed
FEATURE: Add styles for scrollbars in overlays
1 parent 3571e69 commit 75a3f69

1 file changed

Lines changed: 20 additions & 0 deletions

File tree

Resources/Private/Scripts/presentationals/Overlay.tsx

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,26 @@ const contentWrapStyle = css`
6060
gap: 1rem;
6161
overflow: auto;
6262
max-height: calc(100% - 40px);
63+
64+
/**
65+
* Scollbars
66+
*/
67+
::-webkit-scrollbar {
68+
width: 4px;
69+
height: 4px;
70+
}
71+
72+
::-webkit-scrollbar-track {
73+
background-color: transparent;
74+
}
75+
76+
::-webkit-scrollbar-thumb {
77+
background-color: var(--colors-ContrastDark);
78+
}
79+
80+
::-webkit-scrollbar-corner {
81+
background-color: var(--colors-ContrastDarker);
82+
}
6383
`;
6484

6585
const overlayState = signal<Overlays | null>(null);

0 commit comments

Comments
 (0)