latentcat / uvcanvas

An React.js component library for beautifully shaded canvas https://uvcanvas.com
https://uvcanvas.com
1.01k stars 36 forks source link

How to set to full screen #11

Open ByronFanglei opened 2 months ago

ByronFanglei commented 2 months ago

React+vite

code: <div className={"w-full h-full"}> <div className={"fixed -z-50 w-full h-full box-border"}> <Zenitho style={{ width: "100%", height: "100%" }} /> </div> </div>

8b8f0ab0-3032-4294-884c-14c0002bdb07

Thank you

CPunisher commented 2 months ago

This should be a bug in component Zenitho, as the other components don't seem to have this problem

ByronFanglei commented 2 months ago

This should be a bug in component Zenitho, as the other components don't seem to have this problem

Indeed, no problem using the other component's, hopefully it can be fixed