Skip to content

Commit

Permalink
Update table
Browse files Browse the repository at this point in the history
  • Loading branch information
huong-li-nguyen committed Nov 21, 2024
1 parent c77fd12 commit f9bba27
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions vizro-core/src/vizro/tables/_dash_table.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ def dash_data_table(data_frame: pd.DataFrame, **kwargs: Any) -> dash_table.DataT
"style_data_conditional": [
{
"if": {"state": "active"},
"backgroundColor": "var(--state-overlays-selected)",
"border": "1px solid var(--state-overlays-selected)",
"backgroundColor": "var(--stateOverlays-selected)",
"border": "1px solid var(--stateOverlays-selected)",
}
],
}
Expand Down
4 changes: 2 additions & 2 deletions vizro-core/tests/unit/vizro/tables/test_dash_table.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ def test_dash_data_table(self):
style_data_conditional=[
{
"if": {"state": "active"},
"backgroundColor": "var(--state-overlays-selected)",
"border": "1px solid var(--state-overlays-selected)",
"backgroundColor": "var(--stateOverlays-selected)",
"border": "1px solid var(--stateOverlays-selected)",
}
],
),
Expand Down

0 comments on commit f9bba27

Please sign in to comment.