Skip to content

Commit

Permalink
fix: textarea padding when line numbers enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
huozhi committed Jan 20, 2025
1 parent 026729b commit 4879043
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/editor/css.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,7 @@ ${R} textarea {
height: 100%;
overflow: hidden;
}
${R}[data-codice-editor-line-numbers="true"] textarea {
padding-left: 51px;
}
`

0 comments on commit 4879043

Please sign in to comment.