Skip to content
Snippets Groups Projects
Commit 6bfc1d7c authored by Gregor Gawol's avatar Gregor Gawol Committed by Robert Lange
Browse files

refs #17831 [fid] get it box notices above range footer

* content height gets get-it-box height as minimum for large resolutions
parent 1a45b3c5
No related merge requests found
...@@ -51,4 +51,19 @@ JS; ...@@ -51,4 +51,19 @@ JS;
<?php endif; ?> <?php endif; ?>
<?php /* finc-specific change #9274 - END */ ?> <?php /* finc-specific change #9274 - END */ ?>
</div> </div>
<?php /* #17831 */ ?>
<? $script = <<<JS
$(document).ready(function() {
if ($(window).width() >= 1200) {
var contentHeight = $('.media').height();
var getitboxHeight = $('.getitbox').height();
if (getitboxHeight > contentHeight) {
$('.media').css('min-height', getitboxHeight+'px');
}
}
});
JS;
?>
<?=$this->inlineScript(\Zend\View\Helper\HeadScript::SCRIPT, $script, 'SET');?>
<?php /* #17831 END */ ?>
<!-- fid: ajax - resolverlinks-print - END --> <!-- fid: ajax - resolverlinks-print - END -->
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment