mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-09 16:16:41 +08:00
fix(searchbar): update alignment of chips and other elements in toolbar (#19596)
fixes #19495 fixes #19502
This commit is contained in:
@ -41,20 +41,19 @@
|
||||
@include padding(0, null);
|
||||
}
|
||||
|
||||
// TODO - important is needed because searchbar is scoped
|
||||
:host(.toolbar-searchbar) ::slotted(ion-searchbar) {
|
||||
/* stylelint-disable */
|
||||
height: 52px !important;
|
||||
|
||||
padding-top: 1px !important;
|
||||
padding-bottom: 15px !important;
|
||||
/* stylelint-enable */
|
||||
:host(.toolbar-searchbar) ::slotted(*) {
|
||||
align-self: start;
|
||||
}
|
||||
|
||||
:host(.toolbar-searchbar) ::slotted(ion-buttons) {
|
||||
align-self: start;
|
||||
:host(.toolbar-searchbar) ::slotted(ion-chip) {
|
||||
@include margin(3px, null, null, null);
|
||||
}
|
||||
|
||||
:host(.toolbar-searchbar) ::slotted(ion-back-button) {
|
||||
height: 38px;
|
||||
}
|
||||
|
||||
|
||||
// iOS Toolbar Slot Placement
|
||||
// --------------------------------------------------
|
||||
|
||||
|
||||
Reference in New Issue
Block a user