Skip to content

Commit 9511dee

Browse files
CR
1 parent 6a2fc08 commit 9511dee

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,7 @@
368368
* the size of the trailing icon (clear),
369369
* and the gap between the icon and the input.
370370
*/
371-
@include globals.padding-horizontal(globals.$ion-space-500, globals.$ion-space-500);
371+
@include globals.padding-horizontal(globals.$ion-space-500);
372372

373373
height: globals.$ion-scale-1400;
374374
}

core/src/components/searchbar/searchbar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -629,7 +629,7 @@ export class Searchbar implements ComponentInterface {
629629
* Clear button should be shown if one of two conditions applies:
630630
* 1. `showClearButton` is set to `always`.
631631
* 2. `showClearButton` is set to `focus`, and the searchbar has been focused.
632-
* 3. `theme` is not set `ionic`, or the searchbar has not been disabled.
632+
* Unless the `theme` is `ionic` and the searchbar is disabled.
633633
*/
634634
private shouldShowClearButton(): boolean {
635635
const theme = getIonTheme(this);

0 commit comments

Comments
 (0)