PUNKT-38 Fix CSS

This commit is contained in:
Marcin Szczepański 2019-12-14 01:12:25 +01:00
parent e532373dbd
commit 07fc2f32fb
2 changed files with 4 additions and 26 deletions

View File

@ -31,7 +31,7 @@ export class TestsInGroupResultsComponent implements OnInit, OnDestroy {
public columnDefs = [
{ headerName: 'ID', field: 'id', headerTooltip: 'ID' },
{ headerName: 'Nazwa', field: 'title', headerTooltip: 'Nazwa' },
{ headerName: 'Liczba punktów do zdobycia', field: 'maxScore', headerTooltip: 'Liczba punktów do zdobycia', hide: false }
{ headerName: 'Max.', field: 'maxScore', headerTooltip: 'Liczba punktów do zdobycia', hide: false }
];
// showTestResult
@ -155,7 +155,7 @@ export class TestsInGroupResultsComponent implements OnInit, OnDestroy {
this.columnDefs = [
{ headerName: 'ID', field: 'id', headerTooltip: 'ID' },
{ headerName: 'Nazwa', field: 'title', headerTooltip: 'Nazwa' },
{ headerName: 'Liczba punktów do zdobycia', field: 'maxScore', headerTooltip: 'Liczba punktów do zdobycia', hide: false }
{ headerName: 'Max.', field: 'maxScore', headerTooltip: 'Liczba punktów do zdobycia', hide: false }
];
params.api.sizeColumnsToFit();

View File

@ -244,7 +244,7 @@ button:hover, a:hover {
text-align: center;
}
.ag-header-row, .ag-header-cell, .ag-body-container, .ag-row {
.ag-header-row, .ag-header-cell {
height: 60px !important;
min-height: 60px !important;
}
@ -260,20 +260,8 @@ button:hover, a:hover {
.ag-header {
font-size: 16px !important;
height: 80px !important;
min-height: 80px !important;
}
.ag-header-row, .ag-header-cell, .ag-body-container, .ag-row {
height: 80px !important;
min-height: 80px !important;
}
.ag-theme-dark .ag-header-cell {
line-height: 70px !important;
}
}
@media screen and (max-width: 470px) {
@ -283,21 +271,11 @@ button:hover, a:hover {
.ag-header {
font-size: 14px !important;
height: 100px !important;
min-height: 100px !important;
}
.ag-paging-panel {
font-size: 12px !important;
}
.ag-header-row, .ag-header-cell, .ag-body-container, .ag-row {
height: 100px !important;
min-height: 100px !important;
}
.ag-theme-dark .ag-header-cell {
line-height: 90px !important;
}
}