From 1b9fd43f259f20313f3e6a269d7cbf20a819fca6 Mon Sep 17 00:00:00 2001 From: laurelfulford Date: Tue, 23 Apr 2019 16:43:53 +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. git-svn-id: https://develop.svn.wordpress.org/trunk@45257 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-content/themes/twentyseventeen/style.css | 1 + 1 file changed, 1 insertion(+) diff --git a/src/wp-content/themes/twentyseventeen/style.css b/src/wp-content/themes/twentyseventeen/style.css index f8eac90680..c40769c106 100644 --- a/src/wp-content/themes/twentyseventeen/style.css +++ b/src/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; }