mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
refactor(searchbar): fixed cancel button when placed in toolbar iOS only
references #247
This commit is contained in:
@@ -92,7 +92,7 @@ ion-searchbar {
|
||||
border-bottom-width: 0.55px;
|
||||
}
|
||||
|
||||
ion-toolbar {
|
||||
.toolbar {
|
||||
|
||||
ion-searchbar {
|
||||
background: transparent;
|
||||
@@ -101,6 +101,15 @@ ion-toolbar {
|
||||
.searchbar-input {
|
||||
background-color: #E5E5E5;
|
||||
}
|
||||
|
||||
.searchbar-cancel {
|
||||
padding-left: 8px;
|
||||
right: -10px;
|
||||
}
|
||||
}
|
||||
|
||||
.searchbar-cancel.left-align {
|
||||
right: 0px;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user