diff --git a/css/main.css b/css/main.css index aaf44c8..6d0dbee 100644 --- a/css/main.css +++ b/css/main.css @@ -16,13 +16,26 @@ html, body { padding: 0; } + #page-canvas-container { - height: 85vh; - max-height: 85vh; - max-width: 100vw; + position: absolute; + left: 0px; + right: 0px; + top: 0px; + bottom: 0px; overflow: auto; } +#page-canvas-container-container #shadowbox { + position: absolute; + left: 0px; + right: calc(100vw - 99%); + top: 0px; + bottom: 0px; + box-shadow: inset 0px 0px 10px 5px rgba(0,0,0,0.5); + pointer-events: none; +} + #page-canvas-container .page-canvas { margin: 0.5em; box-shadow: 6px 6px 7px -1px rgba(0,0,0,0.5); @@ -39,10 +52,10 @@ html, body { #page-canvas-container #placementguidebox { opacity: 0.5; - position: absolute; + position: fixed; float: left; - /* margin-top: -40px; */ padding: 0; + pointer-events: none; } #signature_pad { diff --git a/index.html b/index.html index 08cef88..a3f1f7f 100644 --- a/index.html +++ b/index.html @@ -99,7 +99,7 @@ file, You can obtain one at http://mozilla.org/MPL/2.0/. -