diff --git a/frontend/src/components/DocumentChunks.tsx b/frontend/src/components/DocumentChunks.tsx index f29941d2..44becf7c 100644 --- a/frontend/src/components/DocumentChunks.tsx +++ b/frontend/src/components/DocumentChunks.tsx @@ -41,7 +41,7 @@ const LineNumberedTextarea: React.FC = ({ const lineHeight = 19.93; const contentLines = value.split('\n').length; - + const heightOffset = isMobile ? 200 : 300; const minLinesForDisplay = Math.ceil((typeof window !== 'undefined' ? window.innerHeight - heightOffset : 600) / lineHeight); const totalLines = Math.max(contentLines, minLinesForDisplay); @@ -63,28 +63,18 @@ const LineNumberedTextarea: React.FC = ({ ))} - {editable ? ( -