tomat / react-auto-scale

Wrap a single child with this component to make it auto-scale (transform) to fit its parent (or a maximum size specified through props).

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Autoscale contained

IsaackRasmussen opened this issue · comments

Is it possible to have it autoscale so the content is always contained within the container/Viewport?

commented

Have not tried this, but you could just put it in a div and CSS the div-container to take up the whole viewport?