Twenty Twenty and Twenty Twenty-One: Fixes code tag showing outside of section area.

The code tag had a formatting issue where it was showing outside of the section area. This resolves it in both themes.

Props ravipatel, SergeyBiryukov, poena, sabernhardt, peterwilsoncc.
Fixes #52780.

Built from https://develop.svn.wordpress.org/trunk@58557


git-svn-id: http://core.svn.wordpress.org/trunk@58005 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Tammie Lister 2024-06-24 19:51:11 +00:00
parent 94d48db3ea
commit e5d85a4490
7 changed files with 23 additions and 1 deletions

View File

@ -598,6 +598,9 @@ pre code {
padding: 0;
}
.entry-content > code {
display: block;
}
/* Media ------------------------------------- */

View File

@ -602,6 +602,9 @@ pre code {
padding: 0;
}
.entry-content > code {
display: block;
}
/* Media ------------------------------------- */

View File

@ -1661,6 +1661,10 @@ pre {
overflow-x: auto;
}
.entry-content > code {
display: block;
}
/*
* text-underline-offset doesn't work in Chrome at all 👎
* But looks nice in Safari/Firefox, so let's keep it and

View File

@ -15,3 +15,7 @@ pre {
white-space: pre;
overflow-x: auto;
}
.entry-content > code {
display: block;
}

View File

@ -1555,6 +1555,10 @@ pre {
overflow-x: auto;
}
.entry-content > code {
display: block;
}
/*
* text-underline-offset doesn't work in Chrome at all 👎
* But looks nice in Safari/Firefox, so let's keep it and

View File

@ -1565,6 +1565,10 @@ pre {
overflow-x: auto;
}
.entry-content > code {
display: block;
}
/*
* text-underline-offset doesn't work in Chrome at all 👎
* But looks nice in Safari/Firefox, so let's keep it and

View File

@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
$wp_version = '6.6-beta4-58556';
$wp_version = '6.6-beta4-58557';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.