diff --git a/static/src/app/statistic/campaign/overview/campaign-overview.component.scss b/static/src/app/statistic/campaign/overview/campaign-overview.component.scss index 244827d..d30640d 100644 --- a/static/src/app/statistic/campaign/overview/campaign-overview.component.scss +++ b/static/src/app/statistic/campaign/overview/campaign-overview.component.scss @@ -10,7 +10,8 @@ .slide-chart-container { width: 100%; min-width: unset; - padding-top: 105px; + margin-top: 105px; + margin-bottom: 35px; } .chart-select-group { diff --git a/static/src/app/statistic/war/scoreboard/scoreboard.component.ts b/static/src/app/statistic/war/scoreboard/scoreboard.component.ts index 6fb53a7..e7e0138 100644 --- a/static/src/app/statistic/war/scoreboard/scoreboard.component.ts +++ b/static/src/app/statistic/war/scoreboard/scoreboard.component.ts @@ -49,7 +49,7 @@ export class ScoreboardComponent implements OnChanges { } ngOnChanges(changes: SimpleChanges) { - if (changes['isSmallLayout'] && changes['isSmallLayout'].previousValue != changes['isSmallLayout'].currentValue) { + if (changes['isSmallLayout'] && changes['isSmallLayout'].previousValue !== changes['isSmallLayout'].currentValue) { const colIdxFraction = this.displayedColumns.findIndex(c => c === 'fraction'); if (this.isSmallLayout) { this.displayedColumns.splice(colIdxFraction, 1);