mirror of
https://github.com/spacedeck/spacedeck-open.git
synced 2025-12-13 00:17:31 +01:00
* fix div positionning on Firefox and Safari * Use style to fix css positionning for artifact
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user