Karan6124 commited on
Commit
b009897
·
1 Parent(s): 8e24ed8

style: apply flex-shrink prevention on chart-container to restore scrollability

Browse files

- StockChart.tsx: Add flexShrink: 0 inline style on the main chart-container div.

frontend/src/components/StockChart.tsx CHANGED
@@ -664,6 +664,7 @@ export default function StockChart({ activeTicker, chartData, activeStats, chart
664
  gap: isMaximized ? '14px' : '16px',
665
  padding: isMaximized ? '16px 24px 24px' : '16px 16px 32px',
666
  flex: 'unset',
 
667
  height: isMaximized ? (showRSI ? '850px' : '650px') : (showRSI ? '450px' : '340px')
668
  }}>
669
  {/* Floating Add Marker Form */}
 
664
  gap: isMaximized ? '14px' : '16px',
665
  padding: isMaximized ? '16px 24px 24px' : '16px 16px 32px',
666
  flex: 'unset',
667
+ flexShrink: 0,
668
  height: isMaximized ? (showRSI ? '850px' : '650px') : (showRSI ? '450px' : '340px')
669
  }}>
670
  {/* Floating Add Marker Form */}