fixed aspect-ratio bug for photo guide

This commit is contained in:
Rick Companje 2014-12-05 16:16:54 +01:00
parent 3d99c146a0
commit c6b6a3c448
1 changed files with 7 additions and 2 deletions

View File

@ -57,6 +57,7 @@
left: 0; left: 0;
width: 78%; width: 78%;
height: 100%; height: 100%;
text-align: center;
} }
#mycanvas { #mycanvas {
@ -129,18 +130,22 @@
#mycanvas { #mycanvas {
position: absolute; position: absolute;
left: 0px;
top: 0px;
} }
#imgGuide { #imgGuide {
// z-index: -1000; // z-index: -1000;
position: absolute; // position: absolute;
// -webkit-filter: contrast(400%); // -webkit-filter: contrast(400%);
//-webkit-filter: brightness(100%); //-webkit-filter: brightness(100%);
// opacity: 50%; // opacity: 50%;
opacity: 0.4; opacity: 0.4;
filter: alpha(opacity=40); filter: alpha(opacity=40);
pointer-events:none; pointer-events:none;
max-width: 100%; max-width: 100%;
max-height: 100%; max-height: 100%;
width: 100%; height: auto;
margin-left: auto;
} }