Hide the 'Dismiss' label in the dashboard welcome panel at smartphone sizes, so the close link doesn't overlap the Welcome headline. See #25858.

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


git-svn-id: http://core.svn.wordpress.org/trunk@26601 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Matt Thomas 2013-12-06 01:16:11 +00:00
parent ba93d95af0
commit dc05d0530b
4 changed files with 36 additions and 2 deletions

View File

@ -13002,6 +13002,23 @@ li#wp-admin-bar-menu-toggle {
z-index: 400; 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;
left: 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 */ /* Keep full-width boxes on Edit Post page from causing horizontal scroll */
div#post-body.metabox-holder.columns-1 { div#post-body.metabox-holder.columns-1 {
overflow-x: hidden; overflow-x: hidden;

File diff suppressed because one or more lines are too long

View File

@ -13002,6 +13002,23 @@ li#wp-admin-bar-menu-toggle {
z-index: 400; 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 */ /* Keep full-width boxes on Edit Post page from causing horizontal scroll */
div#post-body.metabox-holder.columns-1 { div#post-body.metabox-holder.columns-1 {
overflow-x: hidden; overflow-x: hidden;

File diff suppressed because one or more lines are too long