.date-picker { width: auto; } .chart-container { height: clamp(200px, 40vw, 350px); position: relative; }