diff --git a/lib/ui/src/components/sidebar/Sidebar.tsx b/lib/ui/src/components/sidebar/Sidebar.tsx index ac3310a8587c..544661d6a02a 100644 --- a/lib/ui/src/components/sidebar/Sidebar.tsx +++ b/lib/ui/src/components/sidebar/Sidebar.tsx @@ -13,7 +13,7 @@ const Heading = styled(SidebarHeading)({ const Stories = styled(({ className, ...rest }) => ( -))(({ loading }) => (loading ? { marginTop: 8 } : {})); +))(({ loading }) => (loading ? { marginTop: 8, overflow: 'hidden' } : { overflow: 'hidden' })); const Container = styled.nav({ position: 'absolute',