Skip to content
This repository has been archived by the owner on Jun 4, 2024. It is now read-only.

reformat sizing test app for failing tests #125

Merged
merged 1 commit into from
Oct 3, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 7 additions & 9 deletions tests/dash/app_sizing.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,12 +87,12 @@ def layout():
df,
table_style={"width": "100%"},
column_style={
"Date": {"width": '30%'},
"Election Polling Organization": {"width": '25%'},
"Dem": {"width": '5%'},
"Rep": {"width": '5%'},
"Ind": {"width": '5%'},
"Region": {"width": '30%'},
"Date": {"width": "30%"},
"Election Polling Organization": {"width": "25%"},
"Dem": {"width": "5%"},
"Rep": {"width": "5%"},
"Ind": {"width": "5%"},
"Region": {"width": "30%"},
},
),
section_title("HTML Table - Single Column Width Defined by Percent"),
Expand All @@ -104,9 +104,7 @@ def layout():
html_table(
df,
table_style={"width": "100%"},
column_style={
"Region": {"width": '50%'},
},
column_style={"Region": {"width": "50%"}},
),
section_title("HTML Table - Columns with min-width"),
html.Div(
Expand Down