From 174fc107c22fc60969222771bda9cf0e4c58d026 Mon Sep 17 00:00:00 2001 From: Chintan Sudani <46838508+techchintan@users.noreply.github.com> Date: Thu, 23 Feb 2023 17:06:57 +0530 Subject: [PATCH] fix: scrollbar issue on widget (#2359) * fix: Removed Strict mode to stop render twice * fix: scrollbar issue on widget --- frontend/src/components/Graph/styles.ts | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/frontend/src/components/Graph/styles.ts b/frontend/src/components/Graph/styles.ts index 2cbe302815..371aa9d317 100644 --- a/frontend/src/components/Graph/styles.ts +++ b/frontend/src/components/Graph/styles.ts @@ -6,7 +6,10 @@ export const LegendsContainer = styled.div` * { ::-webkit-scrollbar { - width: 0.5rem; + width: 0.3rem; + } + ::-webkit-scrollbar:horizontal { + height: 0.3rem; } ::-webkit-scrollbar-track { background: transparent; @@ -18,5 +21,8 @@ export const LegendsContainer = styled.div` ::-webkit-scrollbar-thumb:hover { background: ${themeColors.matterhornGrey}; } + ::-webkit-scrollbar-corner { + background: transparent; + } } `;