File tree Expand file tree Collapse file tree 1 file changed +2
-12
lines changed
Expand file tree Collapse file tree 1 file changed +2
-12
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ import ContextualMenuPropsType, {
1212} from "./types" ;
1313import Section from "./Section" ;
1414import ContextualMenuContext from "./ContextualMenuContext" ;
15+ import { scrollbarStyles } from "../styles/scroll" ;
1516
1617const ContextualMenu = styled . div `
1718 box-sizing: border-box;
@@ -27,18 +28,7 @@ const ContextualMenu = styled.div`
2728 background-color: var(--color-bg-neutral-lightest);
2829 overflow-y: auto;
2930 overflow-x: hidden;
30- &::-webkit-scrollbar {
31- width: 8px;
32- height: 8px;
33- }
34- &::-webkit-scrollbar-thumb {
35- background-color: var(--color-fg-neutral-strong);
36- border-radius: var(--border-radius-s);
37- }
38- &::-webkit-scrollbar-track {
39- background-color: var(--color-bg-neutral-light);
40- border-radius: 0 var(--border-radius-s) var(--border-radius-s) 0;
41- }
31+ ${ scrollbarStyles }
4232` ;
4333
4434const StyledSubMenu = styled . ul `
You can’t perform that action at this time.
0 commit comments