Twenty Twenty-One: Prevent `<iframe>` embeds from being too narrow.
This fixes an issue where `<iframe>` embeds were being pushed to the side of the screen and compressed to the point of being unusable. Props helen, mukesh27, poena, thorlentz. Fixes #52004. Built from https://develop.svn.wordpress.org/trunk@49823 git-svn-id: http://core.svn.wordpress.org/trunk@49542 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
3dce40e526
commit
b7a899e8aa
|
@ -5866,12 +5866,6 @@ h1.entry-title {
|
||||||
margin: 30px 0 !important;
|
margin: 30px 0 !important;
|
||||||
max-width: 100% !important;
|
max-width: 100% !important;
|
||||||
}
|
}
|
||||||
@media only screen and (min-width: 482px) {
|
|
||||||
|
|
||||||
.entry-content > iframe[style] {
|
|
||||||
max-width: 30px !important;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.entry-footer {
|
.entry-footer {
|
||||||
color: #28303d;
|
color: #28303d;
|
||||||
|
|
|
@ -53,10 +53,6 @@ h1.entry-title {
|
||||||
|
|
||||||
margin: var(--global--spacing-vertical) 0 !important;
|
margin: var(--global--spacing-vertical) 0 !important;
|
||||||
max-width: 100% !important;
|
max-width: 100% !important;
|
||||||
|
|
||||||
@include media(mobile) {
|
|
||||||
max-width: var(--global--spacing-vertical) !important;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Classic editor audio embeds.
|
// Classic editor audio embeds.
|
||||||
|
|
|
@ -4135,12 +4135,6 @@ h1.entry-title {
|
||||||
margin: var(--global--spacing-vertical) 0 !important;
|
margin: var(--global--spacing-vertical) 0 !important;
|
||||||
max-width: 100% !important;
|
max-width: 100% !important;
|
||||||
}
|
}
|
||||||
@media only screen and (min-width: 482px) {
|
|
||||||
|
|
||||||
.entry-content > iframe[style] {
|
|
||||||
max-width: var(--global--spacing-vertical) !important;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.entry-footer {
|
.entry-footer {
|
||||||
color: var(--global--color-primary);
|
color: var(--global--color-primary);
|
||||||
|
|
|
@ -4155,12 +4155,6 @@ h1.entry-title {
|
||||||
margin: var(--global--spacing-vertical) 0 !important;
|
margin: var(--global--spacing-vertical) 0 !important;
|
||||||
max-width: 100% !important;
|
max-width: 100% !important;
|
||||||
}
|
}
|
||||||
@media only screen and (min-width: 482px) {
|
|
||||||
|
|
||||||
.entry-content > iframe[style] {
|
|
||||||
max-width: var(--global--spacing-vertical) !important;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.entry-footer {
|
.entry-footer {
|
||||||
color: var(--global--color-primary);
|
color: var(--global--color-primary);
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '5.7-alpha-49822';
|
$wp_version = '5.7-alpha-49823';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue