Skip to content

Commit 4421028

Browse files
committed
fix(toolbar): only apply text-align to slotted title
1 parent eac4475 commit 4421028

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

core/src/components/toolbar/toolbar.ionic.scss

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -116,14 +116,14 @@
116116
// Toolbar Title Placement
117117
// --------------------------------------------------
118118

119-
:host(.toolbar-title-placement-start) {
119+
:host(.toolbar-title-placement-start) ::slotted(ion-title) {
120120
text-align: start;
121121
}
122122

123-
:host(.toolbar-title-placement-center) {
123+
:host(.toolbar-title-placement-center) ::slotted(ion-title) {
124124
text-align: center;
125125
}
126126

127-
:host(.toolbar-title-placement-end) {
127+
:host(.toolbar-title-placement-end) ::slotted(ion-title) {
128128
text-align: end;
129129
}

0 commit comments

Comments
 (0)