From 21cd81e21bc4ebb12e51440a324880ab46f6114b Mon Sep 17 00:00:00 2001 From: Matt Thomas Date: Fri, 6 Dec 2013 01:15:33 +0000 Subject: [PATCH] Hide the 'Dismiss' label in the dashboard welcome panel at smartphone sizes, so the close link doesn't overlap the Welcome headline. See #25858. git-svn-id: https://develop.svn.wordpress.org/trunk@26712 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/css/wp-admin.css | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/src/wp-admin/css/wp-admin.css b/src/wp-admin/css/wp-admin.css index 985dd0b44f..b422fd2ee0 100644 --- a/src/wp-admin/css/wp-admin.css +++ b/src/wp-admin/css/wp-admin.css @@ -13001,6 +13001,23 @@ li#wp-admin-bar-menu-toggle { height: 100%; z-index: 400; } + + /* Keep the close icon from overlapping the Welcome text. */ + .welcome-panel .welcome-panel-close { + overflow: hidden; + text-indent: 100%; + white-space: nowrap; + width: 20px; + height: 20px; + right: 0; + padding: 5px; + } + + /* Make the close icon larger for tappability. */ + #welcome-panel.welcome-panel .welcome-panel-close::before { + font-size: 20px; + margin: 0; + } /* Keep full-width boxes on Edit Post page from causing horizontal scroll */ div#post-body.metabox-holder.columns-1 {