From 9950f8b71e120ebedc5fc3a45702e6ce0e3241b4 Mon Sep 17 00:00:00 2001 From: laurelfulford Date: Tue, 23 Apr 2019 16:44:52 +0000 Subject: [PATCH] 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 --- wp-content/themes/twentyseventeen/style.css | 1 + wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/wp-content/themes/twentyseventeen/style.css b/wp-content/themes/twentyseventeen/style.css index f8eac90680..c40769c106 100644 --- a/wp-content/themes/twentyseventeen/style.css +++ b/wp-content/themes/twentyseventeen/style.css @@ -1646,6 +1646,7 @@ body.home.title-tagline-hidden.has-header-video .custom-logo-link img { body:not(.title-tagline-hidden) .site-branding-text { display: inline-block; + max-width: 100%; vertical-align: middle; } diff --git a/wp-includes/version.php b/wp-includes/version.php index c525639a1b..8048ca8e3f 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @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.