Skip to content

Commit

Permalink
Merge pull request #6 from communitiesuk/css-camel-case
Browse files Browse the repository at this point in the history
Use camelCase for style property names
  • Loading branch information
Adrian Clay authored Feb 10, 2022
2 parents 3610223 + 5ebe70c commit 98f096f
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion gov_uk_dashboards/components/plotly/banners.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def message_banner(category, message):
"background": "white",
"color": "#1d70b8",
"margin": "0 1rem 0 0",
"line-height": "initial",
"lineHeight": "initial",
},
),
message,
Expand Down
2 changes: 1 addition & 1 deletion gov_uk_dashboards/components/plotly/header.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def header(title):
),
className="govuk-header__container govuk-width-container",
),
style={"align-items": "center", "justify-content": "center"},
style={"alignItems": "center", "justifyContent": "center"},
className="govuk-header",
role="banner",
**{"data-module": "govuk-header"},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ def format_visualisation_commentary(commentary):
html.P(
commentary,
className="govuk-heading-m govuk-!-margin-bottom-1",
style={"font-size": "14px", "font-weight": "normal"},
style={"fontSize": "14px", "fontWeight": "normal"},
),
],
className="govuk-grid-column-full",
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,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="2.2.0",
version="2.2.1",
packages=find_packages(),
install_requires=[
"setuptools~=59.8.0",
Expand Down

0 comments on commit 98f096f

Please sign in to comment.