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:
parent
94d48db3ea
commit
e5d85a4490
|
@ -598,6 +598,9 @@ pre code {
|
|||
padding: 0;
|
||||
}
|
||||
|
||||
.entry-content > code {
|
||||
display: block;
|
||||
}
|
||||
|
||||
/* Media ------------------------------------- */
|
||||
|
||||
|
|
|
@ -602,6 +602,9 @@ pre code {
|
|||
padding: 0;
|
||||
}
|
||||
|
||||
.entry-content > code {
|
||||
display: block;
|
||||
}
|
||||
|
||||
/* Media ------------------------------------- */
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -15,3 +15,7 @@ pre {
|
|||
white-space: pre;
|
||||
overflow-x: auto;
|
||||
}
|
||||
|
||||
.entry-content > code {
|
||||
display: block;
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue