CarisMu commited on
Commit
d55cf35
·
verified ·
1 Parent(s): e3b3325

update table properties

Browse files
Files changed (1) hide show
  1. main.py +3 -1
main.py CHANGED
@@ -761,7 +761,9 @@ styled_table = (
761
  )
762
  .set_properties(**{"text-align": "center"}) # Center the text in all cells
763
  .set_table_styles(
764
- [{"selector": "table", "props": [("margin-left", "auto"), ("margin-right", "auto")]}] # Center the table on the page
 
 
765
  )
766
  .hide(axis="index") # Hide the row index
767
  )
 
761
  )
762
  .set_properties(**{"text-align": "center"}) # Center the text in all cells
763
  .set_table_styles(
764
+ [
765
+ {"selector": "table", "props": [("margin-left", "auto"), ("margin-right", "auto"), ("width", "80%")]}, # Center the table and adjust width
766
+ ]
767
  )
768
  .hide(axis="index") # Hide the row index
769
  )