Skip to content

Commit 7c11d2b

Browse files
Added separated variables for size of slots in Toolbar
1 parent 5cc8adb commit 7c11d2b

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
--padding-start: #{globals.$ion-space-200};
1414
--padding-end: #{globals.$ion-space-200};
1515
--min-height: #{globals.$ion-scale-1400};
16+
--start-size: var(--start-end-size, 0);
17+
--end-size: var(--start-end-size, 0);
1618
}
1719

1820
.toolbar-container {
@@ -87,7 +89,7 @@
8789
:host(.show-end) slot[name="end"] {
8890
display: flex;
8991

90-
flex: 0 0 var(--start-end-size, 0);
92+
flex: 0 0 var(--end-size, 0);
9193
justify-content: flex-end;
9294

9395
text-align: end;
@@ -97,7 +99,7 @@
9799
:host(.show-start) slot[name="start"] {
98100
display: flex;
99101

100-
flex: 0 0 var(--start-end-size, 0);
102+
flex: 0 0 var(--start-size, 0);
101103
}
102104

103105
:host(.has-primary-content) slot[name="primary"],

0 commit comments

Comments
 (0)