Browse Source

UI: Limit table content height in map layers with scroll on overflow

pull/12994/head
Vladyslav Prykhodko 1 year ago
parent
commit
71eaef8dba
  1. 2
      ui-ngx/src/app/modules/home/components/widget/lib/settings/common/map/map-layers.component.html

2
ui-ngx/src/app/modules/home/components/widget/lib/settings/common/map/map-layers.component.html

@ -23,7 +23,7 @@
<div class="tb-form-table-header-cell tb-layer-header" translate>widgets.maps.layer.layer</div>
<div class="tb-form-table-header-cell tb-actions-header"></div>
</div>
<div *ngIf="layersFormArray().controls.length; else noLayers" class="tb-form-table-body tb-drop-list"
<div *ngIf="layersFormArray().controls.length; else noLayers" class="tb-form-table-body tb-drop-list max-h-64 overflow-y-auto"
cdkDropList cdkDropListOrientation="vertical"
[cdkDropListDisabled]="!dragEnabled"
(cdkDropListDropped)="layerDrop($event)">

Loading…
Cancel
Save