CarisMu commited on
Commit
d26da19
1 Parent(s): 82df62a

update tables

Browse files
Files changed (1) hide show
  1. web.py +6 -2
web.py CHANGED
@@ -129,7 +129,9 @@ styled_table = (
129
 
130
  # Use _repr_html_() method to get the HTML representation of the styled DataFrame
131
  table_html_filter_data = styled_table._repr_html_()
132
- table_div_filter_data = Div(NotStr(table_html_filter_data), style="margin: 40px;")
 
 
133
 
134
 
135
  qf_filtering_table_data = pd.DataFrame(
@@ -219,7 +221,9 @@ styled_table = (
219
 
220
  # Use _repr_html_() method to get the HTML representation of the styled DataFrame
221
  table_html_qf_filter_data = styled_table._repr_html_()
222
- table_div_qf_filter_data = Div(NotStr(table_html_qf_filter_data), style="margin: 40px;")
 
 
223
 
224
 
225
  dolma311 = """
 
129
 
130
  # Use _repr_html_() method to get the HTML representation of the styled DataFrame
131
  table_html_filter_data = styled_table._repr_html_()
132
+ table_div_filter_data = Div(NotStr(table_html_filter_data),
133
+ style="display: flex; justify-content: center; align-items: center; width: 100%; max-width: 100%; height: auto; overflow-x: auto;"
134
+ )
135
 
136
 
137
  qf_filtering_table_data = pd.DataFrame(
 
221
 
222
  # Use _repr_html_() method to get the HTML representation of the styled DataFrame
223
  table_html_qf_filter_data = styled_table._repr_html_()
224
+ table_div_qf_filter_data = Div(NotStr(table_html_qf_filter_data),
225
+ style="display: flex; justify-content: center; align-items: center; width: 100%; max-width: 100%; height: auto; overflow-x: auto;"
226
+ )
227
 
228
 
229
  dolma311 = """