File tree Expand file tree Collapse file tree 1 file changed +1
-17
lines changed
packages/web/src/components/GlobalStyle Expand file tree Collapse file tree 1 file changed +1
-17
lines changed Original file line number Diff line number Diff line change @@ -29,14 +29,7 @@ export const GlobalStyle = createGlobalStyle`
2929 width: 8px;
3030 }
3131
32- /* Hide the scrollbar thumb by default (transparent) */
33- &::-webkit-scrollbar-thumb {
34- background-color: transparent;
35- border-radius: 4px;
36- transition: background-color 0.3s ease;
37- }
38-
39- /* Show scrollbar when hovering anywhere in the palette or when scrolling */
32+ /* Show scrollbar when hovering over the command palette container */
4033 &:hover::-webkit-scrollbar-thumb,
4134 &:focus::-webkit-scrollbar-thumb,
4235 &:active::-webkit-scrollbar-thumb {
@@ -48,13 +41,4 @@ export const GlobalStyle = createGlobalStyle`
4841 background-color: ${ theme . color . panel . scrollbarActive } ;
4942 }
5043 }
51-
52- /* Also show scrollbar when hovering over the command palette container */
53- .command-palette:hover .overflow-y-auto::-webkit-scrollbar-thumb {
54- background-color: ${ theme . color . panel . scrollbar } ;
55- }
56-
57- .command-palette:hover .overflow-y-auto::-webkit-scrollbar-thumb:hover {
58- background-color: ${ theme . color . panel . scrollbarActive } ;
59- }
6044` ;
You can’t perform that action at this time.
0 commit comments