mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 01:54:15 +00:00
fix issue with misaligned loading icon on tag field
This commit is contained in:
@@ -21,11 +21,10 @@
|
||||
(keydown)="preventEventsPropagation($event)"
|
||||
(keyup)="onKeyUp($event)" />
|
||||
|
||||
|
||||
<input *ngIf="model.hasAuthority"
|
||||
class="border-0 form-control-plaintext tag-input flex-grow-1 mt-1 mb-1"
|
||||
<div *ngIf="model.hasAuthority" class="position-relative right-addon">
|
||||
<i *ngIf="searching" class="fas fa-circle-notch fa-spin fa-2x fa-fw text-primary position-absolute mt-1 p-0" aria-hidden="true"></i>
|
||||
<input class="border-0 form-control-plaintext tag-input flex-grow-1 mt-1 mb-1"
|
||||
type="text"
|
||||
role="textbox"
|
||||
[attr.aria-labelledby]="'label_' + model.id"
|
||||
[(ngModel)]="currentValue"
|
||||
[attr.autoComplete]="model.autoComplete"
|
||||
@@ -48,6 +47,6 @@
|
||||
(keydown)="preventEventsPropagation($event)"
|
||||
(keyup)="onKeyUp($event)"
|
||||
#instance="ngbTypeahead"/>
|
||||
<i *ngIf="searching" class="fas fa-circle-notch fa-spin fa-2x fa-fw text-primary position-absolute mt-1 p-0" aria-hidden="true"></i>
|
||||
</div>
|
||||
</ds-chips>
|
||||
|
||||
|
@@ -1,8 +1,5 @@
|
||||
/* style fa-spin */
|
||||
.fa-spin {
|
||||
pointer-events: none;
|
||||
right: 0;
|
||||
}
|
||||
@import '../../../../form.component';
|
||||
|
||||
.chips-left {
|
||||
left: 0;
|
||||
padding-right: 100%;
|
||||
|
Reference in New Issue
Block a user