From 07fc2f32fb6db35e64f459e4ccaec6f3dd480353 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcin=20Szczepa=C5=84ski?= Date: Sat, 14 Dec 2019 01:12:25 +0100 Subject: [PATCH] PUNKT-38 Fix CSS --- .../tests-in-group-results.component.ts | 4 +-- FrontEnd/src/styles.css | 26 ++----------------- 2 files changed, 4 insertions(+), 26 deletions(-) diff --git a/FrontEnd/src/app/groups/tests-in-group-results/tests-in-group-results.component.ts b/FrontEnd/src/app/groups/tests-in-group-results/tests-in-group-results.component.ts index 320fd81..79f7619 100644 --- a/FrontEnd/src/app/groups/tests-in-group-results/tests-in-group-results.component.ts +++ b/FrontEnd/src/app/groups/tests-in-group-results/tests-in-group-results.component.ts @@ -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(); diff --git a/FrontEnd/src/styles.css b/FrontEnd/src/styles.css index 4fcde13..65d6b22 100644 --- a/FrontEnd/src/styles.css +++ b/FrontEnd/src/styles.css @@ -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; - } } \ No newline at end of file