From 10e8b48bc031f4bd92baa959d38f9d3da0220e3b Mon Sep 17 00:00:00 2001 From: Florian Gareis Date: Mon, 15 Apr 2024 22:32:48 +0000 Subject: [PATCH] Fix overflow issue in Demo element --- src/components/common/Demo.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/common/Demo.js b/src/components/common/Demo.js index 9b330857..0a9c9678 100644 --- a/src/components/common/Demo.js +++ b/src/components/common/Demo.js @@ -68,7 +68,8 @@ const TabsContainer = styled(Tabs)({ const DemoTab = styled(TabItem)({ borderRadius: 'var(--ifm-pre-border-radius)', padding: '16px', - border: '1px solid #eee' + border: '1px solid #eee', + overflowX: 'auto', }); const Code = (props) => {