From 908eb2ebafc752996d296dc2a9024e7be235ebe0 Mon Sep 17 00:00:00 2001 From: Kate Riley Date: Wed, 24 Apr 2024 09:19:36 +0000 Subject: [PATCH 1/2] add css class for table padding --- gov_uk_dashboards/assets/dashboard.css | 4 ++++ scss/dashboard.scss | 4 ++++ setup.py | 2 +- 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/gov_uk_dashboards/assets/dashboard.css b/gov_uk_dashboards/assets/dashboard.css index 3d20f95..37dc874 100644 --- a/gov_uk_dashboards/assets/dashboard.css +++ b/gov_uk_dashboards/assets/dashboard.css @@ -8184,4 +8184,8 @@ mark.expenditure { .text-color-inherit { color: inherit !important; +} + +.table-top-padding th { + padding-top: 10px !important; } \ No newline at end of file diff --git a/scss/dashboard.scss b/scss/dashboard.scss index a7b64fc..1197f02 100644 --- a/scss/dashboard.scss +++ b/scss/dashboard.scss @@ -1223,4 +1223,8 @@ mark.expenditure { .text-color-inherit{ color: inherit!important +} + +.table-top-padding th { + padding-top: 10px !important; } \ No newline at end of file diff --git a/setup.py b/setup.py index af61e81..bf4ba24 100644 --- a/setup.py +++ b/setup.py @@ -10,7 +10,7 @@ author="Department for Levelling Up, Housing and Communities", description="Provides access to functionality common to creating a data dashboard.", name="gov_uk_dashboards", - version="9.31.0", + version="9.31.1", long_description=long_description, long_description_content_type="text/markdown", packages=find_packages(), From 3731340dbae7381239f172194f952725cf576652 Mon Sep 17 00:00:00 2001 From: Kate Riley Date: Wed, 24 Apr 2024 09:27:06 +0000 Subject: [PATCH 2/2] update classname --- gov_uk_dashboards/assets/dashboard.css | 2 +- scss/dashboard.scss | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gov_uk_dashboards/assets/dashboard.css b/gov_uk_dashboards/assets/dashboard.css index 37dc874..a43fbe0 100644 --- a/gov_uk_dashboards/assets/dashboard.css +++ b/gov_uk_dashboards/assets/dashboard.css @@ -8186,6 +8186,6 @@ mark.expenditure { color: inherit !important; } -.table-top-padding th { +.table-header-cell-top-padding th { padding-top: 10px !important; } \ No newline at end of file diff --git a/scss/dashboard.scss b/scss/dashboard.scss index 1197f02..0f11bef 100644 --- a/scss/dashboard.scss +++ b/scss/dashboard.scss @@ -1225,6 +1225,6 @@ mark.expenditure { color: inherit!important } -.table-top-padding th { +.table-header-cell-top-padding th { padding-top: 10px !important; } \ No newline at end of file