style: make Patient Pathways chart fill available viewport height (Task 11.3)

- Changed .main from min-height to height with overflow-y auto
- Added flex chain: #view-container → #patient-pathways-view → .chart-card
  → dcc.Loading wrapper → #chart-container → #pathway-chart
- All flex parents get min-height: 0 for proper flex shrinking
- dcc.Graph set to responsive=True with flex: 1 and minHeight: 0
- Trust Comparison view scrolls naturally via .main overflow-y auto
This commit is contained in:
Andrew Charlwood
2026-02-07 00:31:47 +00:00
parent ab62acf41d
commit 10d47d616c
3 changed files with 29 additions and 7 deletions
+2 -1
View File
@@ -81,7 +81,8 @@ def make_chart_card():
children=[
dcc.Graph(
id="pathway-chart",
style={"minHeight": "500px", "flex": "1"},
style={"flex": "1", "minHeight": "0"},
responsive=True,
config={
"displayModeBar": True,
"displaylogo": False,