From 7c11d2b2abc9a6452e73fdb4646f64c742e85d1c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Louren=C3=A7o?= Date: Wed, 25 Feb 2026 09:53:59 +0000 Subject: [PATCH] Added separated variables for size of slots in Toolbar --- core/src/components/toolbar/toolbar.ionic.scss | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/core/src/components/toolbar/toolbar.ionic.scss b/core/src/components/toolbar/toolbar.ionic.scss index a2aae925f6..aaa80d13ab 100644 --- a/core/src/components/toolbar/toolbar.ionic.scss +++ b/core/src/components/toolbar/toolbar.ionic.scss @@ -13,6 +13,8 @@ --padding-start: #{globals.$ion-space-200}; --padding-end: #{globals.$ion-space-200}; --min-height: #{globals.$ion-scale-1400}; + --start-size: var(--start-end-size, 0); + --end-size: var(--start-end-size, 0); } .toolbar-container { @@ -87,7 +89,7 @@ :host(.show-end) slot[name="end"] { display: flex; - flex: 0 0 var(--start-end-size, 0); + flex: 0 0 var(--end-size, 0); justify-content: flex-end; text-align: end; @@ -97,7 +99,7 @@ :host(.show-start) slot[name="start"] { display: flex; - flex: 0 0 var(--start-end-size, 0); + flex: 0 0 var(--start-size, 0); } :host(.has-primary-content) slot[name="primary"],