fix(chart): the secondary page column may shrink, so the chart fits a phone (M1, BUG-1083)

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01N4f2nya58RoRu4yEmJgRGE
This commit is contained in:
Jesse_Chen
2026-09-29 08:41:27 +08:00
co-authored by Claude Opus 5.5
parent 56722063f2
commit c61095b1eb
4 changed files with 54 additions and 2 deletions
+6
View File
@@ -2209,6 +2209,12 @@ input:not([type="radio"]):not([type="checkbox"]):not([class^="ant-"]):not([class
}
.secondary-page {
display: grid;
/* One column that may shrink below its content (BUG-1083). The implicit
`auto` track took the page body's min-content — the nowrap chart-type strip
and the 34rem planet table — so on a phone the chart page grew past the
viewport and the North Indian chart was cut off on the right. Wide content
scrolls inside its own box instead. */
grid-template-columns: minmax(0, 1fr);
align-content: start;
min-height: 0;
}