Skip to content

Commit

Permalink
Merge pull request #160 from communitiesuk/add-card-class
Browse files Browse the repository at this point in the history
Add css class allowing different card width
  • Loading branch information
kateriley1 authored May 2, 2024
2 parents 39c3ab6 + ea7a0af commit b2d7c9a
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
6 changes: 6 additions & 0 deletions gov_uk_dashboards/assets/dashboard.css
Original file line number Diff line number Diff line change
Expand Up @@ -8212,6 +8212,12 @@ mark.expenditure {
gap: 20px 100px;
}

.two_column_grid_layout_second_width_twice_first {
display: grid;
grid-template-columns: 1fr 2fr;
gap: 20px 100px;
}

.box_container_layout {
background-color: #f3f2f1;
padding: 20px 20px 10px 20px;
Expand Down
6 changes: 6 additions & 0 deletions scss/dashboard.scss
Original file line number Diff line number Diff line change
Expand Up @@ -1251,6 +1251,12 @@ mark.expenditure {
gap: 20px 100px;
}

.two_column_grid_layout_second_width_twice_first {
display: grid;
grid-template-columns: 1fr 2fr;
gap: 20px 100px;
}

.box_container_layout {
// GOV UK colours LIGHT_GREY
background-color: #f3f2f1;
Expand Down
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.35.0",
version="9.36.0",
long_description=long_description,
long_description_content_type="text/markdown",
packages=find_packages(),
Expand Down

0 comments on commit b2d7c9a

Please sign in to comment.