Skip to content

Commit 705ddbc

Browse files
committed
Ensure CodeSurfer div does not exceed the viewport width
1 parent 1d43c6d commit 705ddbc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/mdx-deck-code-surfer/src/deck-code-surfer.js

+1
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ class InnerCodeSurfer extends React.Component {
8686
<div
8787
style={{
8888
height: "100vh",
89+
maxWidth: "100vw",
8990
display: "flex",
9091
flexDirection: "column",
9192
justifyContent: "center"

0 commit comments

Comments
 (0)