Improve responsive view
parent
9dc21dd6c7
commit
0fa09b56dc
|
@ -10,7 +10,8 @@
|
|||
.slide-chart-container {
|
||||
width: 100%;
|
||||
min-width: unset;
|
||||
padding-top: 105px;
|
||||
margin-top: 105px;
|
||||
margin-bottom: 35px;
|
||||
}
|
||||
|
||||
.chart-select-group {
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue