Skip to content

Commit d26554b

Browse files
committed
16px gridicons: update to use 18px for clarity
1 parent a24b1b1 commit d26554b

File tree

5 files changed

+12
-11
lines changed

5 files changed

+12
-11
lines changed

assets/stylesheets/sections/_menus.scss

+1-1
Original file line numberDiff line numberDiff line change
@@ -842,7 +842,7 @@
842842
.gridicon {
843843
position: absolute;
844844
left: 0;
845-
padding: 9px 9px;
845+
padding: 9px 8px;
846846
}
847847

848848
.search-box {

client/components/site-selector/style.scss

+7-6
Original file line numberDiff line numberDiff line change
@@ -117,18 +117,19 @@
117117
width: auto;
118118
position: absolute;
119119
left: 18px;
120-
margin-top: -8px;
121-
width: 16px;
122-
height: 16px;
120+
top: 50%;
121+
margin-top: -9px;
122+
width: 18px;
123+
height: 18px;
123124
}
124125

125126
&.is-open {
126127
.search-close__icon {
127128
color: $gray;
128129
right: 16px;
129-
margin-top: -8px;
130-
width: 16px;
131-
height: 16px;
130+
margin-top: -9px;
131+
width: 18px;
132+
height: 18px;
132133
}
133134
}
134135
}

client/my-sites/category-selector/search.jsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ module.exports = React.createClass( {
2020
render: function() {
2121
return (
2222
<div className="category-selector__search">
23-
<Gridicon icon="search" size={ 16 } />
23+
<Gridicon icon="search" size={ 18 } />
2424
<input type="search"
2525
placeholder={ this.translate( 'Search…', { textOnly: true } ) }
2626
value={ this.props.searchTerm }

client/my-sites/category-selector/search.scss

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55

66
.category-selector__search .gridicon {
77
position: absolute;
8-
left: 0;
9-
padding: 10px 10px;
8+
left: 8px;
9+
top: 9px;
1010
}
1111

1212
.category-selector__search input {

client/my-sites/menus/item-options/option-list.jsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ var Search = React.createClass( {
3131
render: function() {
3232
return (
3333
<div className="search-container">
34-
<Gridicon icon="search" size={ 16 } />
34+
<Gridicon icon="search" size={ 18 } />
3535
<input type="search" className="search-box"
3636
placeholder={ this.translate( 'Search…', { textOnly: true } ) }
3737
value={ this.props.searchTerm }

0 commit comments

Comments
 (0)