Skip to content

Commit

Permalink
fix(searchbar): use tag in toolbar context selector
Browse files Browse the repository at this point in the history
  • Loading branch information
camwiegert committed Jul 13, 2018
1 parent ea7d09b commit 124b87c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions core/src/components/searchbar/searchbar.ios.scss
Original file line number Diff line number Diff line change
Expand Up @@ -162,22 +162,22 @@
// Searchbar in Toolbar Color
// -----------------------------------------

:host-context(.toolbar.ion-color) .searchbar-cancel-button {
:host-context(ion-toolbar.ion-color) .searchbar-cancel-button {
color: currentColor;
}

:host-context(.toolbar.ion-color) .searchbar-search-icon {
:host-context(ion-toolbar.ion-color) .searchbar-search-icon {
color: currentColor;
opacity: $searchbar-ios-input-icon-opacity;
}

:host-context(.toolbar.ion-color) .searchbar-input {
:host-context(ion-toolbar.ion-color) .searchbar-input {
@include placeholder(currentColor, $opacity: .5);
color: currentColor;
background: rgba(var(--ion-color-contrast-rgb), $searchbar-ios-input-background-color-alpha);
}

:host-context(.toolbar.ion-color) .searchbar-clear-button {
:host-context(ion-toolbar.ion-color) .searchbar-clear-button {
color: currentColor;
opacity: $searchbar-ios-input-icon-opacity;
}
2 changes: 1 addition & 1 deletion core/src/components/searchbar/searchbar.md.scss
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,6 @@
// Searchbar in Toolbar
// -----------------------------------------

:host-context(.toolbar) {
:host-context(ion-toolbar) {
@include padding(3px);
}

0 comments on commit 124b87c

Please sign in to comment.