Skip to content
Permalink
Browse files

Administration: Remove extra border from the Screen Options and Help …

…buttons.

The extra border was visible in the responsive view for smaller screens after [32844].

Props jitendrabanjara1991.

Merges [45501] and [45502] to the 5.2 branch.
Fixes #46749 for 5.2.2.


git-svn-id: https://develop.svn.wordpress.org/branches/5.2@45513 602fd350-edb4-49c9-b593-d223f7449a82
  • Loading branch information...
afercia committed Jun 10, 2019
1 parent 469eb5d commit 1730b99b6b8c02ce4b6afcaea0d7cdf7e65d8122
Showing with 13 additions and 9 deletions.
  1. +13 −9 src/wp-admin/css/common.css
@@ -1677,12 +1677,7 @@ form.upgrade .hint {
#screen-options-link-wrap,
#contextual-help-link-wrap {
float: left;
height: 28px;
margin: 0 0 0 6px;
border: 1px solid #ddd;
border-top: none;
background: #fff;
box-shadow: 0 1px 1px -1px rgba(0, 0, 0, 0.1);
}

#screen-meta-links .screen-meta-toggle {
@@ -1691,12 +1686,17 @@ form.upgrade .hint {
}

#screen-meta-links .show-settings {
border: 0;
background: none;
border: 1px solid #ddd;
border-top: none;
border-bottom-color: #ccc;
height: auto;
margin-bottom: 0;
padding: 3px 6px 3px 16px;
background: #fff;
border-radius: 0;
color: #72777c;
line-height: 1.7;
padding: 3px 6px 3px 16px;
box-shadow: none;
}

#screen-meta-links .show-settings:hover,
@@ -1705,8 +1705,12 @@ form.upgrade .hint {
color: #32373c;
}

#screen-meta-links .show-settings:focus {
border-color: #5b9dd9;
box-shadow: 0 0 3px rgba(0, 115, 170, 0.8);
}

#screen-meta-links .show-settings:active {
box-shadow: none;
transform: none;
}

0 comments on commit 1730b99

Please sign in to comment.
You can’t perform that action at this time.