Skip to content

Commit

Permalink
Merge pull request #119 from communitiesuk/mobile_navbar
Browse files Browse the repository at this point in the history
Removed class that squished mobile navbar
  • Loading branch information
urquha authored Jul 7, 2023
2 parents c1373a9 + e446619 commit 18a6931
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions gov_uk_dashboards/components/plotly/side_navbar.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@


def side_navbar(
links, identifier: Optional[str] = None, nav_id: Optional[str] = "navbar-section"
links, identifier: Optional[str] = None, nav_id: str = "navbar-section"
):
"""A navigation bar for switching between dashboards."""
return html.Nav(
Expand All @@ -14,7 +14,7 @@ def side_navbar(
id=identifier if identifier is not None else "",
className="moj-side-navigation__list",
),
className="moj-side-navigation",
className="moj-side-navigation" if "mobile" not in nav_id else "",
role="navigation",
id=nav_id,
)
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.13.0",
version="9.13.1",
long_description=long_description,
long_description_content_type="text/markdown",
packages=find_packages(),
Expand Down

0 comments on commit 18a6931

Please sign in to comment.