From e4c733392d8a054813ea0fcc371d32152bfae6b9 Mon Sep 17 00:00:00 2001 From: Hichem Fantar Date: Mon, 19 Sep 2022 09:05:45 +0100 Subject: [PATCH] [@mantine/spotlight] Fix spotlight overflow scroll (#2361) fixes #2360 --- src/mantine-spotlight/src/Spotlight/Spotlight.styles.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mantine-spotlight/src/Spotlight/Spotlight.styles.ts b/src/mantine-spotlight/src/Spotlight/Spotlight.styles.ts index 290bc5a1114..8825bad13ff 100644 --- a/src/mantine-spotlight/src/Spotlight/Spotlight.styles.ts +++ b/src/mantine-spotlight/src/Spotlight/Spotlight.styles.ts @@ -23,7 +23,7 @@ export default createStyles( borderRadius: theme.fn.radius(radius), width: '100%', maxWidth, - overflow: 'hidden', + overflow: 'auto', marginLeft: 'calc(var(--removed-scroll-width, 0px) * -1)', },