diff --git a/app.js b/app.js index 51a2631..4476486 100644 --- a/app.js +++ b/app.js @@ -2765,7 +2765,7 @@ function adjustChartSize() { const screenWidth = window.innerWidth; const isMobile = screenWidth <= 500; - const isLandscapePhone = screenWidth <= 850 && window.innerHeight < window.innerWidth; + const isLandscapePhone = window.innerHeight < window.innerWidth && window.innerHeight <= 500; const isCompact = isMobile || isLandscapePhone; // Compact mode (portrait phones + landscape phones): extend layers to fill container