Skip to content

Commit

Permalink
fix: scrollbar issue on widget (SigNoz#2359)
Browse files Browse the repository at this point in the history
* fix: Removed Strict mode to stop render twice

* fix: scrollbar issue on widget
  • Loading branch information
techchintan authored Feb 23, 2023
1 parent 06a55cc commit 174fc10
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion frontend/src/components/Graph/styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -18,5 +21,8 @@ export const LegendsContainer = styled.div`
::-webkit-scrollbar-thumb:hover {
background: ${themeColors.matterhornGrey};
}
::-webkit-scrollbar-corner {
background: transparent;
}
}
`;

0 comments on commit 174fc10

Please sign in to comment.