diff --git a/web/themes/custom/geofresco/dist/css/global.css b/web/themes/custom/geofresco/dist/css/global.css index e0a0efd..2de7949 100644 --- a/web/themes/custom/geofresco/dist/css/global.css +++ b/web/themes/custom/geofresco/dist/css/global.css @@ -7142,6 +7142,8 @@ label.panel-block { iframe { width: 100%; height: 100%; } + iframe.mastodon-embed { + height: revert-layer; } /* All classes that are mostly about adding color. */ .background-replacement-for-no-image { diff --git a/web/themes/custom/geofresco/dist/js/responsive-iframes.js b/web/themes/custom/geofresco/dist/js/responsive-iframes.js index d28ba1d..d44de87 100644 --- a/web/themes/custom/geofresco/dist/js/responsive-iframes.js +++ b/web/themes/custom/geofresco/dist/js/responsive-iframes.js @@ -8,7 +8,7 @@ 'use strict'; // Find all iframes - var $iframes = $( "iframe" ); + var $iframes = $( "iframe" ).not(".mastodon-embed"); // Find and save the aspect ratio for all iframes $iframes.each(function () {