carteb / carte-blanche

An isolated development space with integrated fuzz testing for your components. See them individually, explore them in different states and quickly and confidently develop them.
https://www.youtube.com/watch?v=6g3-TQ6aaw8
MIT License
1.5k stars 47 forks source link

set iframe content height to 100vh to align vertically the content #365

Closed FezVrasta closed 8 years ago

FezVrasta commented 8 years ago

just a small improvement to make the component vertically aligned inside the iframe

FezVrasta commented 8 years ago

Maybe an additional improvement could be a way to manually define the style of the container. In some cases I don't want the flex alignment (e.g. I have a navbar, and the flex alignment makes it overflow the iframe)

image

mxstbr commented 8 years ago

Thanks, that's very reasonable!