Skip to content

Commit

Permalink
fix accordion tests
Browse files Browse the repository at this point in the history
  • Loading branch information
nadijagraca committed Nov 13, 2023
1 parent 4618278 commit ff58fac
Show file tree
Hide file tree
Showing 3 changed files with 49 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
<!--
A new scriv changelog fragment.
Uncomment the section that is right (remove the HTML comment wrapper).
-->

<!--
### Highlights ✨
- A bullet item for the Highlights ✨ category with a link to the relevant PR at the end of your entry, e.g. Enable feature XXX ([#1](https://github.com/mckinsey/vizro/pull/1))
-->
<!--
### Removed
- A bullet item for the Removed category with a link to the relevant PR at the end of your entry, e.g. Enable feature XXX ([#1](https://github.com/mckinsey/vizro/pull/1))
-->
<!--
### Added
- A bullet item for the Added category with a link to the relevant PR at the end of your entry, e.g. Enable feature XXX ([#1](https://github.com/mckinsey/vizro/pull/1))
-->
<!--
### Changed
- A bullet item for the Changed category with a link to the relevant PR at the end of your entry, e.g. Enable feature XXX ([#1](https://github.com/mckinsey/vizro/pull/1))
-->
<!--
### Deprecated
- A bullet item for the Deprecated category with a link to the relevant PR at the end of your entry, e.g. Enable feature XXX ([#1](https://github.com/mckinsey/vizro/pull/1))
-->
<!--
### Fixed
- A bullet item for the Fixed category with a link to the relevant PR at the end of your entry, e.g. Enable feature XXX ([#1](https://github.com/mckinsey/vizro/pull/1))
-->
<!--
### Security
- A bullet item for the Security category with a link to the relevant PR at the end of your entry, e.g. Enable feature XXX ([#1](https://github.com/mckinsey/vizro/pull/1))
-->
3 changes: 1 addition & 2 deletions vizro-core/src/vizro/static/css/layout.css
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
padding: 40px 32px 0 32px;
width: 352px;
overflow: auto;
gap: var(--spacing-04);
gap: var(--spacing-08);
}

.right_side {
Expand Down Expand Up @@ -53,7 +53,6 @@
}
.nav_panel:not(:empty) {
border-bottom: 1px solid var(--border-subtle-alpha-01);
padding-bottom: 4px;
}

.control_panel {
Expand Down
2 changes: 0 additions & 2 deletions vizro-core/tests/unit/vizro/models/_navigation/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ def accordion_from_page_as_list():
persistence_type="session",
always_open=True,
),
html.Hr(),
],
className="nav_panel",
id="nav_panel_outer",
Expand Down Expand Up @@ -90,7 +89,6 @@ def accordion_from_pages_as_dict():
persistence_type="session",
always_open=True,
),
html.Hr(),
],
className="nav_panel",
id="nav_panel_outer",
Expand Down

0 comments on commit ff58fac

Please sign in to comment.