aboutsummaryrefslogtreecommitdiff
path: root/components/financials.py
diff options
context:
space:
mode:
Diffstat (limited to 'components/financials.py')
-rw-r--r--components/financials.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/components/financials.py b/components/financials.py
index 83e9a16..c01f8dc 100644
--- a/components/financials.py
+++ b/components/financials.py
@@ -287,13 +287,13 @@ def _render_grouped_statement(df: pd.DataFrame, groups: dict[str, list[str]], em
with st.expander(section, expanded=(section == list(groups.keys())[0])):
section_df = df.loc[rows]
display, colors = _build_statement(section_df)
- st.dataframe(_style(display, colors), use_container_width=True)
+ st.dataframe(_style(display, colors), width="stretch")
remaining = [row for row in df.index if row not in grouped_rows]
if remaining:
with st.expander("Other Reported Line Items", expanded=False):
display, colors = _build_statement(df.loc[remaining])
- st.dataframe(_style(display, colors), use_container_width=True)
+ st.dataframe(_style(display, colors), width="stretch")
elif not grouped_rows:
st.info(empty_msg)
@@ -315,7 +315,7 @@ def _render_statement_block(title: str, df: pd.DataFrame, groups: dict[str, list
_render_grouped_statement(df, groups, empty_msg)
else:
display, colors = _build_statement(df)
- st.dataframe(_style(display, colors), use_container_width=True)
+ st.dataframe(_style(display, colors), width="stretch")
st.download_button(
"Download CSV",