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 Jul 15, 2024
1 parent 83ce390 commit 9d22ec8
Show file tree
Hide file tree
Showing 3 changed files with 4,418 additions and 2,054 deletions.
6 changes: 4 additions & 2 deletions vizro-core/examples/_dev/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@
df_kpi = pd.DataFrame({"Actual": [100, 200, 700], "Reference": [100, 300, 500], "Category": ["A", "B", "C"]})

# Add single CSS file figures.css or
vizro_bootstrap = "https://raw.githubusercontent.com/mckinsey/vizro/main/vizro-core/src/vizro/static/css/vizro-bootstrap.min.css"
vizro_bootstrap = (
"https://raw.githubusercontent.com/mckinsey/vizro/main/vizro-core/src/vizro/static/css/vizro-bootstrap.min.css"
)
vizro_css = "https://raw.githubusercontent.com/mckinsey/vizro/main/vizro-core/src/vizro/static/css/figures.css"

# Add entire assets folder from Vizro
Expand Down Expand Up @@ -39,7 +41,7 @@
title="KPI Card II",
),
],
className="vizro_light"
className="vizro_light",
),
]

Expand Down
6 changes: 3 additions & 3 deletions vizro-core/examples/_dev/assets/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
display: flex;
flex-direction: row;
gap: 8px;

}

.card-kpi .card-header .material-symbols-outlined {
Expand Down Expand Up @@ -54,8 +53,9 @@
border-left: 4px solid #d41159;
}


.card-kpi .card-header, .card-kpi .card-body, .card-kpi .card-footer {
.card-kpi .card-header,
.card-kpi .card-body,
.card-kpi .card-footer {
background: inherit;
border: none;
margin: 0;
Expand Down
Loading

0 comments on commit 9d22ec8

Please sign in to comment.