Skip to content

Commit 10e8b48

Browse files
committed
Fix overflow issue in Demo element
1 parent 64cd763 commit 10e8b48

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Diff for: src/components/common/Demo.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,8 @@ const TabsContainer = styled(Tabs)({
6868
const DemoTab = styled(TabItem)({
6969
borderRadius: 'var(--ifm-pre-border-radius)',
7070
padding: '16px',
71-
border: '1px solid #eee'
71+
border: '1px solid #eee',
72+
overflowX: 'auto',
7273
});
7374

7475
const Code = (props) => {

0 commit comments

Comments
 (0)