Fix picklist and orderlist

This commit is contained in:
Çetin 2021-12-28 13:37:17 +03:00
parent ab8f627bb3
commit ccd68707d5

View File

@ -67,7 +67,7 @@
<div class="card">
<h5>PickList</h5>
<p-pickList [source]="sourceCities" [target]="targetCities" sourceHeader="From" targetHeader="To" dragdrop="true"
[responsive]="true">
[responsive]="true" [sourceStyle]="{'height':'250px'}" [targetStyle]="{'height':'250px'}">
<ng-template let-city pTemplate="item">
<div>{{city.name}}</div>
</ng-template>
@ -78,7 +78,7 @@
<div class="col-12 lg:col-4">
<div class="card">
<h5>OrderList</h5>
<p-orderList [value]="orderCities" header="Cities" dragdrop="true">
<p-orderList [value]="orderCities" header="Cities" dragdrop="true" [listStyle]="{'height':'250px'}">
<ng-template let-city pTemplate="item">
<div>{{city.name}}</div>
</ng-template>