Browse Source

UI: Fixed icon close button position

pull/12898/head
Artem Dzhereleiko 2 years ago
parent
commit
be9e89955a
  1. 2
      ui-ngx/src/app/shared/components/string-autocomplete.component.html
  2. 2
      ui-ngx/src/app/shared/components/unit-input.component.html

2
ui-ngx/src/app/shared/components/string-autocomplete.component.html

@ -24,7 +24,7 @@
[matAutocomplete]="optionsAutocomplete">
<button *ngIf="selectionFormControl.value && !disabled"
type="button"
class="tb-icon-24"
class="tb-icon-24 mr-2"
matSuffix mat-icon-button aria-label="Clear"
(click)="clear()">
<mat-icon class="material-icons">close</mat-icon>

2
ui-ngx/src/app/shared/components/unit-input.component.html

@ -22,7 +22,7 @@
[matAutocomplete]="unitsAutocomplete">
<button *ngIf="unitsFormControl.value && !disabled && unitsFormControl.valid"
type="button"
class="tb-icon-24"
class="tb-icon-24 mr-2"
matSuffix mat-icon-button aria-label="Clear"
(click)="clear()">
<mat-icon class="material-icons">close</mat-icon>

Loading…
Cancel
Save