aboutsummaryrefslogtreecommitdiff
path: root/components/overview.py
diff options
context:
space:
mode:
Diffstat (limited to 'components/overview.py')
-rw-r--r--components/overview.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/overview.py b/components/overview.py
index 9a0d162..433f6e5 100644
--- a/components/overview.py
+++ b/components/overview.py
@@ -329,7 +329,7 @@ def _render_relative_chart(ticker: str, info: dict, period: str):
height=320,
legend=dict(orientation="h", yanchor="bottom", y=1.02, xanchor="left", x=0),
)
- st.plotly_chart(fig, use_container_width=True)
+ st.plotly_chart(fig, width="stretch")
# ── Main render ──────────────────────────────────────────────────────────────
@@ -442,4 +442,4 @@ def render_overview(ticker: str):
hovermode="x unified",
height=320,
)
- st.plotly_chart(fig, use_container_width=True)
+ st.plotly_chart(fig, width="stretch")