diff --git a/wp-content/themes/twentytwentyone/assets/css/ie-editor.css b/wp-content/themes/twentytwentyone/assets/css/ie-editor.css index 3109cd0491..47a71a23c9 100644 --- a/wp-content/themes/twentytwentyone/assets/css/ie-editor.css +++ b/wp-content/themes/twentytwentyone/assets/css/ie-editor.css @@ -235,9 +235,9 @@ blockquote footer { } img { - display: block; height: auto; max-width: 100%; + vertical-align: middle; } /* Classic editor images */ diff --git a/wp-content/themes/twentytwentyone/assets/css/ie.css b/wp-content/themes/twentytwentyone/assets/css/ie.css index 2f8850c84f..c47e6b0810 100644 --- a/wp-content/themes/twentytwentyone/assets/css/ie.css +++ b/wp-content/themes/twentytwentyone/assets/css/ie.css @@ -2071,7 +2071,9 @@ fieldset input[type=checkbox] + label { } img { - display: block; + height: auto; + max-width: 100%; + vertical-align: middle; } /* Classic editor images */ @@ -3484,12 +3486,6 @@ h6 { margin-top: 0; } -img { - height: auto; - max-width: 100%; - vertical-align: middle; -} - .wp-block-image.is-style-twentytwentyone-border img { border: 3px solid #28303d; } diff --git a/wp-content/themes/twentytwentyone/assets/css/style-editor.css b/wp-content/themes/twentytwentyone/assets/css/style-editor.css index a2236ce007..dda0334ba3 100644 --- a/wp-content/themes/twentytwentyone/assets/css/style-editor.css +++ b/wp-content/themes/twentytwentyone/assets/css/style-editor.css @@ -397,9 +397,9 @@ blockquote footer { } img { - display: block; height: auto; max-width: 100%; + vertical-align: middle; } /* Classic editor images */ diff --git a/wp-content/themes/twentytwentyone/assets/sass/04-elements/media.scss b/wp-content/themes/twentytwentyone/assets/sass/04-elements/media.scss index 9eb8d419d0..b141fb5133 100644 --- a/wp-content/themes/twentytwentyone/assets/sass/04-elements/media.scss +++ b/wp-content/themes/twentytwentyone/assets/sass/04-elements/media.scss @@ -1,7 +1,7 @@ img { - display: block; height: auto; max-width: 100%; + vertical-align: middle; } /* Classic editor images */ diff --git a/wp-content/themes/twentytwentyone/assets/sass/05-blocks/image/_style.scss b/wp-content/themes/twentytwentyone/assets/sass/05-blocks/image/_style.scss index fe4155e855..989f060634 100644 --- a/wp-content/themes/twentytwentyone/assets/sass/05-blocks/image/_style.scss +++ b/wp-content/themes/twentytwentyone/assets/sass/05-blocks/image/_style.scss @@ -35,12 +35,6 @@ } } -img { - height: auto; - max-width: 100%; - vertical-align: middle; -} - // Block Styles .wp-block-image.is-style-twentytwentyone-border img, .wp-block-image.is-style-twentytwentyone-image-frame img { diff --git a/wp-content/themes/twentytwentyone/style-rtl.css b/wp-content/themes/twentytwentyone/style-rtl.css index 119d6da748..d907ce6d17 100644 --- a/wp-content/themes/twentytwentyone/style-rtl.css +++ b/wp-content/themes/twentytwentyone/style-rtl.css @@ -1564,9 +1564,9 @@ fieldset input[type=checkbox] + label { } img { - display: block; height: auto; max-width: 100%; + vertical-align: middle; } /* Classic editor images */ @@ -2368,12 +2368,6 @@ h6, margin-top: 0; } -img { - height: auto; - max-width: 100%; - vertical-align: middle; -} - .wp-block-image.is-style-twentytwentyone-border img, .wp-block-image.is-style-twentytwentyone-image-frame img { border: calc(3 * var(--separator--height)) solid var(--global--color-border); diff --git a/wp-content/themes/twentytwentyone/style.css b/wp-content/themes/twentytwentyone/style.css index 65d2aa3054..858f2a7fc3 100644 --- a/wp-content/themes/twentytwentyone/style.css +++ b/wp-content/themes/twentytwentyone/style.css @@ -1574,9 +1574,9 @@ fieldset input[type=checkbox] + label { } img { - display: block; height: auto; max-width: 100%; + vertical-align: middle; } /* Classic editor images */ @@ -2378,12 +2378,6 @@ h6, margin-top: 0; } -img { - height: auto; - max-width: 100%; - vertical-align: middle; -} - .wp-block-image.is-style-twentytwentyone-border img, .wp-block-image.is-style-twentytwentyone-image-frame img { border: calc(3 * var(--separator--height)) solid var(--global--color-border); diff --git a/wp-includes/version.php b/wp-includes/version.php index 09d329f6ff..c02c0cff87 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.7-beta2-50350'; +$wp_version = '5.7-beta2-50351'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.