mirror of
https://github.com/Doodle3D/doodle3d-client.git
synced 2024-11-22 01:07:56 +01:00
fixed aspect-ratio bug for photo guide
This commit is contained in:
parent
3d99c146a0
commit
c6b6a3c448
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user