Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
huong-li-nguyen committed Mar 27, 2024
1 parent 9c506b8 commit 9926932
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion vizro-core/src/vizro/models/_dashboard.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,9 @@
def _all_hidden(components: List[Component]):
"""Returns True if all `components` are either None and/or have hidden=True and/or className contains `d-none`."""
return all(
component is None or getattr(component, "hidden", False) or "d-none" in getattr(component, "className", "d-inline")
component is None
or getattr(component, "hidden", False)
or "d-none" in getattr(component, "className", "d-inline")
for component in components
)

Expand Down
2 changes: 1 addition & 1 deletion vizro-core/src/vizro/static/css/layout.css
Original file line number Diff line number Diff line change
Expand Up @@ -124,10 +124,10 @@

#nav-bar {
align-items: center;
background: inherit !important;
display: inline-flex;
flex-direction: column;
padding: 0;
background: inherit !important;
}

.nav-bar-icon-link {
Expand Down

0 comments on commit 9926932

Please sign in to comment.