Twenty Seventeen: Prevent too-long strings from causing horizontal scrolling.

Add a `max-width` to the site title, so too-long strings will wrap instead of causing horizontal scrolling. 

Props ianbelanger, dswebsme.
Fixes #46703.


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


git-svn-id: http://core.svn.wordpress.org/trunk@45066 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
laurelfulford 2019-04-23 16:44:52 +00:00
parent 18ccaf962e
commit 9950f8b71e
2 changed files with 2 additions and 1 deletions

View File

@ -1646,6 +1646,7 @@ body.home.title-tagline-hidden.has-header-video .custom-logo-link img {
body:not(.title-tagline-hidden) .site-branding-text { body:not(.title-tagline-hidden) .site-branding-text {
display: inline-block; display: inline-block;
max-width: 100%;
vertical-align: middle; vertical-align: middle;
} }

View File

@ -13,7 +13,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '5.2-beta3-45256'; $wp_version = '5.2-beta3-45257';
/** /**
* 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.