CarisMu commited on
Commit
0ec75d1
1 Parent(s): d26da19

make table resizable and center

Browse files
Files changed (1) hide show
  1. results.py +3 -1
results.py CHANGED
@@ -756,7 +756,9 @@ styled_table = (
756
  )
757
 
758
  table_html = styled_table._repr_html_()
759
- table_div_1 = Div(NotStr(table_html), style="margin: 40px;")
 
 
760
 
761
  intro_div = Div(
762
  H2("TxT360 Studies"),
 
756
  )
757
 
758
  table_html = styled_table._repr_html_()
759
+ table_div_1 = Div(NotStr(table_html),
760
+ style="display: flex; justify-content: center; align-items: center; width: 100%; max-width: 100%; height: auto; overflow-x: auto;"
761
+ )
762
 
763
  intro_div = Div(
764
  H2("TxT360 Studies"),