21128: css tweaks Arvados-DCO-1.1-Signed-off-by: Lisa Knox <lisa.knox@curii.com>
authorLisa Knox <lisaknox83@gmail.com>
Thu, 7 Dec 2023 16:52:37 +0000 (11:52 -0500)
committerLisa Knox <lisaknox83@gmail.com>
Thu, 7 Dec 2023 16:52:37 +0000 (11:52 -0500)
src/components/multiselect-toolbar/MultiselectToolbar.tsx

index 079078f8f313484f1fc1b2ed2dfe925f01d73cb0..a3606d8379ba96881df5aed8468be6de0fca4c8d 100644 (file)
@@ -42,10 +42,24 @@ const styles: StyleRulesCallback<CssRules> = (theme: ArvadosTheme) => ({
         display: "flex",
         flexDirection: "row",
         width: 0,
+        height: '2.7rem',
         padding: 0,
         margin: "1rem auto auto 0.5rem",
-        overflowY: 'scroll',
+        overflowY: 'auto',
         transition: "width 150ms",
+        scrollBehavior: 'smooth',
+        '&::-webkit-scrollbar': {
+            width: 0,
+            height: 2
+        },
+        '&::-webkit-scrollbar-track': {
+            width: 0,
+            height: 2
+        },
+        '&::-webkit-scrollbar-thumb': {
+            backgroundColor: theme.customs.colors.grey600,
+            borderRadius: 2
+        }
     },
     button: {
         width: "2.5rem",