* fix div positionning on Firefox and Safari * Use style to fix css positionning for artifactpull/220/head
parent
ef0d085e22
commit
6551734ac1
|
|
@ -193,7 +193,7 @@ var SpacedeckBoardArtifacts = {
|
|||
|
||||
z = a.z;
|
||||
if (z<0) z=0; // fix negative z-index
|
||||
|
||||
|
||||
styles = [
|
||||
"left:" +a.x+"px",
|
||||
"top:" +a.y+"px",
|
||||
|
|
@ -206,7 +206,7 @@ var SpacedeckBoardArtifacts = {
|
|||
if (a.margin_right) styles.push("margin-right:"+a.margin_right+"px");
|
||||
if (a.margin_top) styles.push("margin-top:"+a.margin_top+"px");
|
||||
if (a.margin_bottom) styles.push("margin-bottom:"+a.margin_bottom+"px");
|
||||
|
||||
|
||||
// FIXME: via class logic?
|
||||
if (a.mime.match("vector")) {
|
||||
styles.push("overflow:visible");
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -3,6 +3,7 @@
|
|||
|
||||
.artifact {
|
||||
position: relative;
|
||||
line-height: normal;
|
||||
//-webkit-transform: translate3d(0,0,0); // hw accel
|
||||
|
||||
iframe {
|
||||
|
|
|
|||
Loading…
Reference in New Issue