Skip to content

Commit

Permalink
Fix duplicate x icon (cancel) on active search field.
Browse files Browse the repository at this point in the history
Fixes #1136.
// FREEBIE
  • Loading branch information
unkaktus authored and scottnonnenberg committed May 23, 2017
1 parent fdf04f6 commit 931441a
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 12 deletions.
2 changes: 0 additions & 2 deletions stylesheets/_index.scss
Expand Up @@ -147,8 +147,6 @@ input.search {
display: block;
width: $search-x-size;
height: $search-x-size;
background: url('/images/x.svg') no-repeat center;
background-size: cover;
}

&::-webkit-search-cancel-button:hover {
Expand Down
4 changes: 0 additions & 4 deletions stylesheets/android-dark.scss
Expand Up @@ -112,10 +112,6 @@ $text-dark: #CCCCCC;
background-color: $grey-dark_l3;
border-color: $grey-dark_l2;
@include invert-text-color;
&::-webkit-search-cancel-button {
background: url('/images/x_white.svg') no-repeat center;
background-size: cover;
}
&.active.ltr, &.active.rtl {
background-image: url('/images/x_white.svg');
}
Expand Down
7 changes: 1 addition & 6 deletions stylesheets/manifest.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 931441a

Please sign in to comment.