From: vincent@cubedesigners.com Date: Fri, 18 Sep 2020 14:00:54 +0000 (+0000) Subject: wait #3885 @0:50 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=2006794e33ce88bc6083498668dda8f9d2525f51;p=fluidbook-v3.git wait #3885 @0:50 --- diff --git a/framework/application/views/helpers/BackgroundBlock.php b/framework/application/views/helpers/BackgroundBlock.php index 21e4527..f6060f8 100644 --- a/framework/application/views/helpers/BackgroundBlock.php +++ b/framework/application/views/helpers/BackgroundBlock.php @@ -44,8 +44,8 @@ class Fluidbook_View_Helper_BackgroundBlock extends CubeIT_View_Helper_Abstract if (!isset($data['backgroundmobileimage'])) { $pict = $this->view->imageCms($image_path); } else { - $pict = '
' . $this->view->imageCms($image_path, '', null, null, ['data-nowrapper' => true]) . '
'; - $pict .= '
' . $this->view->imageCms(CubeIT_View_Helper_ImageCms::getPath(CubeIT_Util_Cms::extractFile($data['backgroundmobileimage'])), '', null, null, ['data-nowrapper' => true]) . '
'; + $pict = '
' . $this->view->imageCms($image_path) . '
'; + $pict .= '
' . $this->view->imageCms(CubeIT_View_Helper_ImageCms::getPath(CubeIT_Util_Cms::extractFile($data['backgroundmobileimage']))) . '
'; } } else { if (isset($data['backgroundmobileimage'])) { diff --git a/less/002-common.less b/less/002-common.less index c308048..37917a9 100644 --- a/less/002-common.less +++ b/less/002-common.less @@ -144,15 +144,20 @@ a { width: 100%; height: 100%; - iframe.oam, iframe.zip { - position: absolute; - } } .desktopr { @media @m900 { display: none; } + .animationSuperWrapper{ + .animationPosWrapper{ + height: 100%; + .animationIframeWrapper{ + height: 100%; + } + } + } } .mobiler { @@ -160,17 +165,13 @@ a { @media @m900 { display: block; } + .animationPosWrapper{ + bottom: 3%; + } } - iframe.oam, iframe.zip { - overflow: hidden; - pointer-events: none; - transform-origin: 0 0 0; - } - - picture { - img { + img { width: 100%; height: auto; display: block; @@ -180,11 +181,15 @@ a { } } - iframe { - //right: 0; - //bottom: 0; - //position: absolute; + .animationSuperWrapper { + width: 100%; + height: 100%; + display: block; + position: absolute; + bottom: 0; + right: 0; } + } .grid {