Fixing something weird with the vw and vh

This commit is contained in:
Devine Lu Linvega 2016-12-24 17:04:22 -07:00
parent 57f8d580dc
commit f83068403a

View File

@ -3,7 +3,7 @@ body { margin:0px; padding:0px; overflow:hidden; font-family:"input_mono_medium"
canvas:hover { cursor: crosshair;}
#ronin { width:100vw; height:100vh; overflow:hidden; background:#000; background-image:url(../media/grid_20.png);}
#ronin { width:100%; height:100%; overflow:hidden; background:#000; background-image:url(../media/grid_20.png);}
#surface { width:100vw; height:100vh; overflow:hidden; position:fixed; left:0px; top:0px; background:#efefef; border-radius:3px;}
#surface .layer { position:absolute; top:0px; left:0px; width:100%; height:100%;}
#overlay { position:absolute; z-index:1000;}