File tree Expand file tree Collapse file tree 2 files changed +1
-27
lines changed Expand file tree Collapse file tree 2 files changed +1
-27
lines changed Original file line number Diff line number Diff line change @@ -127,11 +127,6 @@ export class Toolbar implements ComponentInterface {
127127 return false ;
128128 }
129129
130- /**
131- * @internal
132- * Used to update the toolbars in header/footer.
133- * Called by the child toolbar elements.
134- */
135130 @Listen ( 'ionStyle' )
136131 childrenStyle ( ev : CustomEvent < StyleEventDetail > ) {
137132 ev . stopPropagation ( ) ;
@@ -166,18 +161,14 @@ export class Toolbar implements ComponentInterface {
166161 Object . assign ( childStyles , style ) ;
167162 } ) ;
168163
169- const hostClass = {
170- ...childStyles ,
171- } ;
172-
173164 return (
174165 < Host
175166 class = { {
176167 ...createColorClasses ( this . color , {
177168 [ theme ] : true ,
178169 'in-toolbar' : hostContext ( 'ion-toolbar' , this . el ) ,
179170 } ) ,
180- ...hostClass ,
171+ ...childStyles ,
181172 } }
182173 >
183174 < div class = "toolbar-background" part = "background" > </ div >
Original file line number Diff line number Diff line change @@ -71,23 +71,6 @@ html.ionic ion-modal ion-toolbar {
7171 --padding-end : calc (var (--ion-safe-area-left ) + #{globals .$ion-space-400 } );
7272}
7373
74- /* *
75- * Center an `ion-title` within a modal header. This works around
76- * limitations with `:host-context()` not being supported in all browsers.
77- */
78- // html.ionic ion-modal ion-header ion-toolbar ion-title {
79- // @include globals.position(0, null, null, 0);
80- //
81- // position: absolute;
82- //
83- // width: 100%;
84- // height: 100%;
85- //
86- // transform: translateZ(0);
87- //
88- // text-align: center;
89- // }
90-
9174/* *
9275* Add padding to the left, right, and bottom of `ion-content`
9376* within a modal.
You can’t perform that action at this time.
0 commit comments