Skip to content

Commit

Permalink
Merge pull request #159 from communitiesuk/table-classes
Browse files Browse the repository at this point in the history
Table classes
  • Loading branch information
kateriley1 authored Apr 29, 2024
2 parents ade69b6 + 9864932 commit 39c3ab6
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 2 deletions.
10 changes: 10 additions & 0 deletions gov_uk_dashboards/assets/dashboard.css
Original file line number Diff line number Diff line change
Expand Up @@ -8219,4 +8219,14 @@ mark.expenditure {
display: flex;
flex-direction: column;
align-items: stretch;
}

.govuk-table__caption--m.margin-if-subtitle {
margin-bottom: 0 !important;
}

.govuk-table__caption.custom-subtitle {
color: #505a5f;
font-weight: normal !important;
padding: 0;
}
12 changes: 11 additions & 1 deletion scss/dashboard.scss
Original file line number Diff line number Diff line change
Expand Up @@ -1261,4 +1261,14 @@ mark.expenditure {
flex-direction: column;
// Stretch children to match the width of the container
align-items: stretch;
}
}

.govuk-table__caption--m.margin-if-subtitle {
margin-bottom: 0 !important;
}

.govuk-table__caption.custom-subtitle {
color: #505a5f;
font-weight: normal !important;
padding: 0;
}
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.34.0",
version="9.35.0",
long_description=long_description,
long_description_content_type="text/markdown",
packages=find_packages(),
Expand Down

0 comments on commit 39c3ab6

Please sign in to comment.