From 21c38e317e95656c469d9bb9a772ec59e3a84f76 Mon Sep 17 00:00:00 2001 From: Keegan Rankin Date: Thu, 3 Oct 2024 14:02:15 -0700 Subject: [PATCH] Compile CSS and JS --- web/themes/custom/geofresco/dist/css/global.css | 2 ++ web/themes/custom/geofresco/dist/js/responsive-iframes.js | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) 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 () {