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