update table properties
Browse files
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 |
-
[
|
|
|
|
|
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 |
)
|