From 764cd69bfc2e5a0cf504c8d6e4f032d35edd9a4c Mon Sep 17 00:00:00 2001 From: Tyler Date: Thu, 14 May 2026 01:01:02 -0700 Subject: Completely refreshed Key Ratios, Historical Ratios, and DCF/Multiples tab. --- components/financials.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'components/financials.py') 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", -- cgit v1.3-2-g0d8e