Skip to content

Commit

Permalink
Fix renaming of border
Browse files Browse the repository at this point in the history
  • Loading branch information
huong-li-nguyen committed Nov 20, 2024
1 parent 42bdb3a commit 0742dc8
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions vizro-ai/examples/dashboard_ui/assets/custom_css.css
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

#text-area {
background-color: inherit;
border: 1px solid var(--border-subtle-alpha-01);
border: 1px solid var(--border-subtleAlpha01);
color: var(--text-primary);
min-height: 14vh;
padding: 8px;
Expand Down Expand Up @@ -122,7 +122,7 @@
}

#data-upload-component {
border: 1px dashed var(--border-subtle-alpha-01);
border: 1px dashed var(--border-subtleAlpha01);
color: var(--text-primary);
height: 5vh;
line-height: 5vh;
Expand Down Expand Up @@ -234,7 +234,7 @@

.custom_header {
align-items: center;
border-bottom: 1px solid var(--border-subtle-alpha-01);
border-bottom: 1px solid var(--border-subtleAlpha01);
display: flex;
flex-direction: row;
height: 60px;
Expand Down
2 changes: 1 addition & 1 deletion vizro-core/docs/pages/user-guides/custom-tables.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ The following examples show a possible version of a custom table. In this case t
columns = [{"name": i, "id": i} for i in chosen_columns]
defaults = {
"style_as_list_view": True,
"style_data": {"border_bottom": "1px solid var(--border-subtle-alpha-01)", "height": "40px"},
"style_data": {"border_bottom": "1px solid var(--border-subtleAlpha01)", "height": "40px"},
"style_header": {
"border_bottom": "1px solid var(--state-overlays-selected-hover)",
"border_top": "1px solid var(--main-container-bg-color)",
Expand Down
2 changes: 1 addition & 1 deletion vizro-core/examples/dev/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -606,7 +606,7 @@ def my_custom_table(data_frame=None, chosen_columns: Optional[list[str]] = None)
columns = [{"name": i, "id": i} for i in chosen_columns]
defaults = {
"style_as_list_view": True,
"style_data": {"border_bottom": "1px solid var(--border-subtle-alpha-01)", "height": "40px"},
"style_data": {"border_bottom": "1px solid var(--border-subtleAlpha01)", "height": "40px"},
"style_header": {
"border_bottom": "1px solid var(--state-overlays-selected-hover)",
"border_top": "1px solid var(--main-container-bg-color)",
Expand Down
2 changes: 1 addition & 1 deletion vizro-core/src/vizro/tables/_dash_table.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def dash_data_table(data_frame: pd.DataFrame, **kwargs: Any) -> dash_table.DataT
"columns": [{"name": col, "id": col} for col in data_frame.columns],
"style_as_list_view": True,
"style_cell": {"position": "static"},
"style_data": {"border_bottom": "1px solid var(--border-subtle-alpha-01)", "height": "40px"},
"style_data": {"border_bottom": "1px solid var(--border-subtleAlpha01)", "height": "40px"},
"style_header": {
"border_bottom": "1px solid var(--state-overlays-selected-hover)",
"border_top": "1px solid var(--main-container-bg-color)",
Expand Down
2 changes: 1 addition & 1 deletion vizro-core/tests/unit/vizro/tables/test_dash_table.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def test_dash_data_table(self):
data=data_in_table,
style_as_list_view=True,
style_cell={"position": "static"},
style_data={"border_bottom": "1px solid var(--border-subtle-alpha-01)", "height": "40px"},
style_data={"border_bottom": "1px solid var(--border-subtleAlpha01)", "height": "40px"},
style_header={
"border_bottom": "1px solid var(--state-overlays-selected-hover)",
"border_top": "1px solid var(--main-container-bg-color)",
Expand Down

0 comments on commit 0742dc8

Please sign in to comment.