Skip to content

Commit 6131aa4

Browse files
RtYkkSharzyL
authored andcommitted
fix[frontend]: refactor line number styling for consistency
1 parent 64ac21b commit 6131aa4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

frontend/components/CodeEditor.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -192,10 +192,10 @@ export function CodeEditor({
192192
<span
193193
ref={refLineNumbers}
194194
className={
195-
"line-number-rows font-mono absolute pointer-events-none text-default-500 top-0 left-1 " +
195+
"line-number-rows font-mono absolute pointer-events-none text-default-500 top-0 left-1 overflow-hidden " +
196196
`border-solid border-default-300 border-r-1 ${tst}`
197197
}
198-
style={{ height: `${heightPx}px`, overflow: "hidden" }}
198+
style={{ height: `${heightPx}px` }}
199199
>
200200
{Array.from({ length: lineCount }, (_, idx) => {
201201
return <span key={idx} />

0 commit comments

Comments
 (0)