Commit 7b04c628 authored by ncastejon's avatar ncastejon
Browse files

Fix the table scrolling on fullscreen.

parent d08fa7b6
......@@ -70,7 +70,7 @@
flex-direction: column;
.table-map-container {
height: unset;
// height: unset;
flex-grow: 1;
}
}
......@@ -69,9 +69,9 @@
</span>
<span class="column-title" [ngClass]="{'active': sortValue === key}">{{ key }}</span>
</div>
<ng-container *ngFor="let element of data; let i=index; let even=even;">
<div class="item-grid" [ngClass]="'item-grid-' + i" *ngFor="let key of selectedProperties"
(click)="setStyleForAllRow(i)">
<ng-container *ngFor="let element of data; let indexData=index; let even=even;">
<div [class]="'item-grid' + ' item-grid' + indexData" [ngClass]="{'is-first': indexRow === 0 }"
*ngFor="let key of selectedProperties; let indexRow=index;" (click)="setStyleForAllRow(indexData)">
<span *ngIf="!isPropertyComplex(element,key)" class="data-property-value">{{ element.properties[key] }}</span>
<span *ngIf="isPropertyComplex(element,key)">
<span class="tooltip-right" i18n-data-tooltip="@@dataset.data.tooltip"
......@@ -88,5 +88,4 @@
</ng-container>
</div>
\ No newline at end of file
......@@ -18,6 +18,10 @@
cursor: pointer;
}
.item-grid.is-first {
padding-left: 0.75rem;
}
.selected {
background-color: #f1f3f8;
......@@ -33,7 +37,7 @@
display: flex;
justify-content: flex-start;
border-bottom: 1px solid $grey-super-light-color;
padding-left: 0.75rem;
span {
cursor: pointer;
}
......@@ -59,6 +63,10 @@
}
}
.data-table > .column-header ~ .column-header {
padding-left: none;
}
.arrows {
svg {
/* stylelint-disable-line */
......
......@@ -21,7 +21,7 @@ export class DatasetDetailService {
private _datasetSubject = new Subject<any>();
private _initialScrollOptions = {
from: 0,
pageSize: 20,
pageSize: 30,
sortOptions: {
value: null,
order: 'asc',
......
......@@ -108,7 +108,7 @@ export class MapService {
},
);
this._map.addControl(this.minimap, 'bottom-left');
// this._map.addControl(this.minimap, 'bottom-left');
}
this._mapUpdated.next(this.totalData);
});
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment