Skip to content

Commit 50ecdb3

Browse files
committed
fix toast tokens
1 parent 7d6c1c8 commit 50ecdb3

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

core/src/components/toast/toast.common.scss

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -136,10 +136,6 @@
136136
justify-content: center;
137137
}
138138

139-
.toast-icon {
140-
@include margin(null, null, null, 16px);
141-
}
142-
143139
.toast-content {
144140
min-width: 0;
145141
}
@@ -170,11 +166,6 @@
170166
z-index: 0;
171167
}
172168

173-
.toast-icon,
174-
.toast-button-icon {
175-
font-size: 1.4em;
176-
}
177-
178169
.toast-button-inner {
179170
display: flex;
180171

core/src/components/toast/toast.ionic.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
:host {
88
--box-shadow: #{globals.$ion-elevation-4};
99
--max-width: 343px;
10-
--start: 8px;
11-
--end: 8px;
10+
--start: #{globals.$ion-space-200};
11+
--end: #{globals.$ion-space-200};
1212

1313
@include globals.typography(globals.$ion-body-md-medium);
1414

core/src/components/toast/toast.native.scss

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,12 @@
66

77
z-index: $z-index-overlay;
88
}
9+
10+
.toast-icon {
11+
@include margin(null, null, null, 16px);
12+
}
13+
14+
.toast-icon,
15+
.toast-button-icon {
16+
font-size: 1.4em;
17+
}

0 commit comments

Comments
 (0)