Skip to content

Commit cb3fe60

Browse files
fix(input): Fix alignment issues when using slds-input__icon (#2919)
1 parent 47539eb commit cb3fe60

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ui/components/input/base/_index.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@
106106
top: 50%;
107107
margin-top: (($square-icon-medium-content-alt / 2) * -1);
108108
line-height: 1;
109+
border: 0; // Re-aligns icons to center
109110

110111
/* @Todo - we need to be sure this is deprecated since the color sems to be the correct gray I see in specs */
111112
@include deprecate('4.0.0', 'Use .slds-icon-text-default on the SVG icon instead') {

0 commit comments

Comments
 (0)