diff --git a/public/js/grocy.js b/public/js/grocy.js index 9aeb7ef9..fa3b4e00 100644 --- a/public/js/grocy.js +++ b/public/js/grocy.js @@ -562,7 +562,7 @@ $(window).on('resize', function() if (GetUriParam("embedded")) { - window.parent.iFrameResize({ "checkOrigin": false, "warningTimeout": 0 }, "iframe.embed-responsive"); + window.parent.iFrameResize({ "checkOrigin": false, "warningTimeout": 0, "minHeight": 700 }, "iframe.embed-responsive"); } function WindowMessageBag(message, payload = null) diff --git a/views/layout/default.blade.php b/views/layout/default.blade.php index 78cf7be0..b054d1d0 100644 --- a/views/layout/default.blade.php +++ b/views/layout/default.blade.php @@ -747,9 +747,8 @@ @endif @if($embedded) - @else - @endif +