Skip to content

Commit

Permalink
NAS-132132: Inputs | clear icon is too big (#11000)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexKarpov98 authored Nov 12, 2024
1 parent 3293f5b commit 21520fe
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,17 @@
}

.reset-icon {
margin-top: 2px;
margin-top: 4px;

.ix-icon {
margin-left: 9px;
margin-right: 4px;
width: 16px;

&:focus {
box-shadow: 0 0 0 1.5px var(--focus-bg) inset;
outline-width: 0;
}
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,12 @@
.ix-icon {
margin-left: 9px;
margin-right: 4px;
width: 16px;

&:focus {
box-shadow: 0 0 0 1.5px var(--focus-bg) inset;
outline-width: 0;
}
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@
class="reset-icon reset-input"
(click)="onResetInput();"
>
<ix-icon name="mdi-close-circle"></ix-icon>
<ix-icon tabindex="0" name="mdi-close-circle" (keydown.enter)="onResetInput()"></ix-icon>
</span>
}
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,12 @@

.reset-icon {
.ix-icon {
margin-right: 4px;
margin-right: 8px;
width: 16px;

&:focus {
box-shadow: 0 0 0 1.5px var(--focus-bg) inset;
outline-width: 0;
}
}
}

0 comments on commit 21520fe

Please sign in to comment.