From 7ea9248b6b8a4a5beb337de2cd4d548a862d7cc4 Mon Sep 17 00:00:00 2001 From: Nikita Lobachev Date: Thu, 28 Nov 2024 10:53:10 +0100 Subject: [PATCH] Replace inline styling with a css rule in storybook --- packages/react/menu/src/Menu.stories.tsx | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/packages/react/menu/src/Menu.stories.tsx b/packages/react/menu/src/Menu.stories.tsx index ad5c74951..bab48fe5e 100644 --- a/packages/react/menu/src/Menu.stories.tsx +++ b/packages/react/menu/src/Menu.stories.tsx @@ -74,7 +74,7 @@ export const Submenus = () => { Scrollable - + window.alert('undo')}> Undo @@ -520,6 +520,11 @@ const animatedItemIndicatorClass = css({ }, }); +const scrollableMenuClass = css({ + overflow: 'scroll', + height: 100, +}); + export const TickIcon = () => (