Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Nov 15, 2024
1 parent 7561f6d commit 0828675
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 15 deletions.
4 changes: 2 additions & 2 deletions vizro-ai/examples/dashboard_ui/assets/custom_css.css
Original file line number Diff line number Diff line change
Expand Up @@ -333,8 +333,8 @@ img#banner {
}

.dropdown-menu-outer-div {
width: 100%;
align-items: end;
display: flex;
justify-content: end;
align-items: end;
width: 100%;
}
26 changes: 13 additions & 13 deletions vizro-ai/examples/dashboard_ui/components.py
Original file line number Diff line number Diff line change
Expand Up @@ -391,20 +391,20 @@ def build(self):
toggleClassName="dropdown-menu-toggle-class",
)
download_div = html.Div(
html.Div(
children=[
html.Span("download", className="material-symbols-outlined", id=f"{self.id}-icon"),
dropdown_menu,
dbc.Tooltip(
"Download this plot to your device as a plotly JSON or interactive HTML file "
"for easy sharing or future use.",
target="dropdown-menu-icon",
),
],
id="dropdown-menu-div",
html.Div(
children=[
html.Span("download", className="material-symbols-outlined", id=f"{self.id}-icon"),
dropdown_menu,
dbc.Tooltip(
"Download this plot to your device as a plotly JSON or interactive HTML file "
"for easy sharing or future use.",
target="dropdown-menu-icon",
),
className="dropdown-menu-outer-div",
)
],
id="dropdown-menu-div",
),
className="dropdown-menu-outer-div",
)

return download_div

Expand Down

0 comments on commit 0828675

Please sign in to comment.