@@ -59,7 +59,7 @@ function ModelLabel({ model }: ModelLabelProps) {
5959 const Icon = PROVIDER_ICON_MAP [ model . providerId ]
6060
6161 return (
62- < div className = 'flex w-[140px ] shrink-0 items-center justify-end gap-1.5 sm:w-[180px]' >
62+ < div className = 'flex w-[90px ] shrink-0 items-center justify-end gap-1.5 sm:w-[140px] lg :w-[180px]' >
6363 { Icon && < Icon className = 'h-3.5 w-3.5 shrink-0' /> }
6464 < span className = 'truncate font-medium text-[13px] text-[var(--landing-text)] leading-none tracking-[-0.01em]' >
6565 { model . displayName }
@@ -116,7 +116,7 @@ function StackedCostChart({ models }: ChartProps) {
116116 < ModelLabel model = { model } />
117117 < div className = 'relative flex h-7 min-w-0 flex-1 items-center' >
118118 < div
119- className = 'flex h-full overflow-hidden rounded-r-[3px]'
119+ className = 'hidden h-full overflow-hidden rounded-r-[3px] sm:flex '
120120 style = { { width : `${ Math . max ( totalPct , 3 ) } %` } }
121121 >
122122 < div
@@ -136,7 +136,7 @@ function StackedCostChart({ models }: ChartProps) {
136136 } }
137137 />
138138 </ div >
139- < span className = 'ml-2.5 shrink-0 font-mono text-[var(--landing-text-muted)] text-xs' >
139+ < span className = 'shrink-0 font-mono text-[11px] text-[ var(--landing-text-muted)] sm:ml-2.5 sm: text-xs' >
140140 { formatPrice ( input ) } input / { formatPrice ( output ) } output
141141 </ span >
142142 </ div >
@@ -196,7 +196,7 @@ function ContextWindowChart({ models }: ChartProps) {
196196 opacity : 0.8 ,
197197 } }
198198 />
199- < span className = 'ml-2.5 shrink-0 font-mono text-[var(--landing-text-muted)] text-xs' >
199+ < span className = 'ml-2.5 shrink-0 font-mono text-[11px] text-[ var(--landing-text-muted)] sm: text-xs' >
200200 { formatTokenCount ( value ) }
201201 </ span >
202202 </ div >
0 commit comments