[Library | Trunk]: Search Input: On bordered search make selected value's width 100%
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@60697 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
parent
bdd90b9d6c
commit
d9c67bab76
|
@ -23,7 +23,7 @@ import {MatAutocompleteTrigger} from '@angular/material/autocomplete';
|
||||||
</mat-autocomplete>
|
</mat-autocomplete>
|
||||||
</form>
|
</form>
|
||||||
<div *ngIf="selected && !showSearch" class="uk-flex selected uk-padding-small uk-visible@m">
|
<div *ngIf="selected && !showSearch" class="uk-flex selected uk-padding-small uk-visible@m">
|
||||||
<span class="uk-flex uk-flex-middle clickable" style="max-width: 100%">
|
<span class="uk-flex uk-flex-middle clickable" style="max-width: 100%" [class.uk-width-1-1]="bordered">
|
||||||
<span class="uk-width-expand uk-text-truncate" (click)="toggle()">{{selected}}</span>
|
<span class="uk-width-expand uk-text-truncate" (click)="toggle()">{{selected}}</span>
|
||||||
<icon name="close" class="space" [ratio]="0.8" (click)="resetEmitter.emit()"></icon>
|
<icon name="close" class="space" [ratio]="0.8" (click)="resetEmitter.emit()"></icon>
|
||||||
</span>
|
</span>
|
||||||
|
|
Loading…
Reference in New Issue