fix: scrollbar issue on widget (#2359)

* fix: Removed Strict mode to stop render twice

* fix: scrollbar issue on widget
This commit is contained in:
Chintan Sudani 2023-02-23 17:06:57 +05:30 committed by GitHub
parent 06a55ccdd6
commit 174fc107c2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;
}
}
`;