Bundled Themes: Prevent pre from overflowing container.
Update CSS to set `overflow-x: auto` on `pre` elements in Twenty Twenty Two and Twenty Twenty Five. Props pateljaymin, jaiminp, nikunj8866, sabernhardt, rollybueno, joedolson. Fixes #63875. Built from https://develop.svn.wordpress.org/trunk@60921 git-svn-id: http://core.svn.wordpress.org/trunk@60257 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -59,3 +59,11 @@ h1, h2, h3, h4, h5, h6, blockquote, caption, figcaption, p {
|
||||
.more-link {
|
||||
display: block;
|
||||
}
|
||||
|
||||
/*
|
||||
* Prevents unnecessary scrollbars while handling long lines of preformatted text.
|
||||
* https://core.trac.wordpress.org/ticket/63875
|
||||
*/
|
||||
:where(pre) {
|
||||
overflow-x: auto;
|
||||
}
|
||||
|
||||
@@ -159,3 +159,12 @@ body > .is-root-container > .wp-block-template-part > .wp-block-cover,
|
||||
.wp-block-post-comments ol.commentlist li.comment:not(:last-child) {
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
/*
|
||||
* Prevents unnecessary scrollbars while handling long lines of preformatted text.
|
||||
* https://core.trac.wordpress.org/ticket/63875
|
||||
*/
|
||||
|
||||
:where(pre) {
|
||||
overflow-x: auto;
|
||||
}
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '6.9-alpha-60920';
|
||||
$wp_version = '6.9-alpha-60921';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
||||
Reference in New Issue
Block a user