Skip to content

Commit

Permalink
Remove default textarea padding
Browse files Browse the repository at this point in the history
<textarea>s have a 2px padding on both Chrome & Firefox. <pre>s,
however, don't, which makes for miniscule text jumps between index.html
& paste.html.
  • Loading branch information
egor-tensin authored and w4 committed Dec 24, 2023
1 parent 06513b7 commit 8dd038b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
background: none;
border: none;
outline: 0;
padding: 0;

resize: none;
overflow: auto;
Expand Down

0 comments on commit 8dd038b

Please sign in to comment.