parent
ab61041078
commit
3231199c04
2 changed files with 4 additions and 1 deletions
|
@ -6,4 +6,7 @@
|
||||||
iframe {
|
iframe {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
&.mastodon-embed {
|
||||||
|
height: revert-layer;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
// Find all iframes
|
// Find all iframes
|
||||||
var $iframes = $( "iframe" );
|
var $iframes = $( "iframe" ).not(".mastodon-embed");
|
||||||
|
|
||||||
// Find and save the aspect ratio for all iframes
|
// Find and save the aspect ratio for all iframes
|
||||||
$iframes.each(function () {
|
$iframes.each(function () {
|
||||||
|
|
Loading…
Add table
Reference in a new issue