Use fixed position scroll for stats

pull/20/head
HardiReady 2017-11-19 11:34:36 +01:00
parent 4a836f4dee
commit ca9420f3cf
2 changed files with 5 additions and 3 deletions

View File

@ -1,6 +1,6 @@
{ {
"name": "opt-cc", "name": "opt-cc",
"version": "1.6.4", "version": "1.6.5",
"license": "MIT", "license": "MIT",
"author": "Florian Hartwich <hardi@noarch.de>", "author": "Florian Hartwich <hardi@noarch.de>",
"private": true, "private": true,

View File

@ -1,6 +1,6 @@
<div class="fade-in" xmlns="http://www.w3.org/1999/html"> <div class="fade-in" style="overflow-x: auto" xmlns="http://www.w3.org/1999/html">
<ngx-datatable <ngx-datatable
style="width:1020px; margin:auto" style="width:1020px; margin:auto; height:70vh;"
[rows]="rows" [rows]="rows"
[sorts]="[{prop: 'kill', dir: 'desc'}]" [sorts]="[{prop: 'kill', dir: 'desc'}]"
[reorderable]="reorderable" [reorderable]="reorderable"
@ -8,6 +8,8 @@
[headerHeight]="cellHeight" [headerHeight]="cellHeight"
[rowHeight]="cellHeight" [rowHeight]="cellHeight"
[cssClasses]='customClasses' [cssClasses]='customClasses'
[columnMode]="'force'"
[scrollbarV]="true"
[selectionType]="'single'"> [selectionType]="'single'">
<ngx-datatable-column name="Spieler" prop="name" [width]="210" style="padding-left:10px"> <ngx-datatable-column name="Spieler" prop="name" [width]="210" style="padding-left:10px">
<ng-template ngx-datatable-cell-template let-row="row" let-value="value"> <ng-template ngx-datatable-cell-template let-row="row" let-value="value">