File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
apps/web/src/components/chat Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -128,12 +128,15 @@ function rowTolerancePx(
128128 return Math . max ( baseTolerancePx , proportionalTolerancePx ) ;
129129 }
130130 if ( row . diffSummary ) {
131- return Math . max ( viewport . name === "mobile" ? 128 : 96 , Math . round ( estimatedHeightPx * 0.14 ) ) ;
131+ return Math . max (
132+ viewport . name === "mobile" ? 128 : 96 ,
133+ Math . round ( estimatedHeightPx * ( viewport . name === "mobile" ? 0.42 : 0.14 ) ) ,
134+ ) ;
132135 }
133136 if ( row . showCompletionDivider ) {
134137 return Math . max (
135138 viewport . name === "mobile" ? 120 : 72 ,
136- Math . round ( estimatedHeightPx * ( viewport . name === "mobile" ? 0.3 : 0.14 ) ) ,
139+ Math . round ( estimatedHeightPx * ( viewport . name === "mobile" ? 0.42 : 0.14 ) ) ,
137140 ) ;
138141 }
139142 return Math . max (
You can’t perform that action at this time.
0 commit comments