Skip to content

Commit

Permalink
fix: default iframe to 100%
Browse files Browse the repository at this point in the history
  • Loading branch information
karrui committed Jul 31, 2024
1 parent 35b1029 commit bcfab3e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import Frame, { useFrame } from "react-frame-component"

export const PreviewIframe = ({ children }: PropsWithChildren): JSX.Element => {
// TODO: Add toolbar for users to adjust the width of the iframe
const [width, _setWidth] = useState("640px")
const [width, _setWidth] = useState("100%")
return (
<Flex
borderRadius="8px"
Expand Down

0 comments on commit bcfab3e

Please sign in to comment.