Skip to content

Commit 78f6d3c

Browse files
committed
fix searchbar tokens
1 parent 7473309 commit 78f6d3c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

core/src/components/searchbar/searchbar.ionic.scss

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@
115115
* is used in a toolbar regardless of
116116
* the searchbar size.
117117
*/
118-
@include globals.position-horizontal(9px, null);
118+
@include globals.position-horizontal(globals.$ion-space-200, null);
119119
}
120120

121121
// Searchbar States
@@ -340,7 +340,7 @@
340340
* the size of the leading icon (search or cancel),
341341
* and the gap between the icon and the input.
342342
*/
343-
padding-inline-start: calc(9px + globals.$ion-scale-400 + globals.$ion-space-200);
343+
padding-inline-start: globals.$ion-space-800;
344344
}
345345

346346
/* Large */
@@ -437,7 +437,7 @@
437437
* the size of the leading icon (search or cancel),
438438
* and the gap between the icon and the input.
439439
*/
440-
padding-inline-start: calc(9px + globals.$ion-scale-500 + globals.$ion-space-200);
440+
padding-inline-start: globals.$ion-space-900;
441441
}
442442

443443
:host(.searchbar-size-large) .searchbar-search-icon,

0 commit comments

Comments
 (0)