Skip to content

Commit 3db946a

Browse files
refactor(toolbar): change margin to align-self (#46)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent fb78138 commit 3db946a

File tree

3 files changed

+4
-6
lines changed

3 files changed

+4
-6
lines changed
2.83 KB
Loading
-1.94 KB
Loading

src/styles/components/ion-toolbar.scss

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,10 @@ ion-toolbar.ios:not(.toolbar-title-large):not(.ios26-disabled):not(:has(ion-segm
2525
--min-height: 68px;
2626
}
2727

28-
ion-toolbar.ios:not(.ios26-disabled):has(ion-searchbar.ios:not(.ios26-disabled)) {
29-
ion-buttons {
30-
margin-top: 11px;
31-
}
32-
& > ion-button {
33-
margin-top: 11px;
28+
ion-toolbar.ios:not(.ios26-disabled).toolbar-searchbar {
29+
*[slot='start'],
30+
*[slot='end'] {
31+
align-self: center;
3432
}
3533
}
3634

0 commit comments

Comments
 (0)