reformat code

pull/30/head
HardiReady 2018-03-11 09:39:05 +01:00
parent c4a876bbda
commit 53a99020b8
3 changed files with 8 additions and 4 deletions

View File

@ -97,7 +97,9 @@ export class CampaignPlayerDetailComponent implements OnInit {
this.captureData = this.assignData(this.yAxisCapture, 'flagTouch');
this.kdRatio = parseFloat((this.totalKills / (this.totalDeath === 0 ? 1 : this.totalDeath)).toFixed(2));
if (this.kdRatio > 1) { this.maxKd = this.kdRatio * 1.7; }
if (this.kdRatio > 1) {
this.maxKd = this.kdRatio * 1.7;
}
this.respawnDeathRatio = parseFloat((this.totalRespawn / (this.totalDeath === 0 ? 1 : this.totalDeath)).toFixed(2));

View File

@ -58,6 +58,7 @@ ngx-datatable {
}
/* Table Scrollbar BEGIN */
:host /deep/ .ngx-datatable.scroll-vertical .datatable-body::-webkit-scrollbar {
width: 12px;
}
@ -72,4 +73,5 @@ ngx-datatable {
background: #4b4b4b;
-webkit-box-shadow: inset 0 0 6px rgba(255, 255, 255, 0.5);
}
/* Table Scrollbar END */