🏡 index : ~doyle/bin.git

author Egor Tensin <egor@tensin.name> 2023-12-24 0:59:26.0 +01:00:00
committer jordan <jordan@doyle.la> 2023-12-24 8:01:10.0 +00:00:00
commit
8dd038bc60fefdcaa4d9f67f78f25f46df111ab2 [patch]
tree
578c200e9f976afad7b6933ab92fe3e37cf73df7
parent
06513b70951a995fa5963502d339bec283d6ae0a
download
8dd038bc60fefdcaa4d9f67f78f25f46df111ab2.tar.gz

Remove default textarea padding

<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.

Diff

 templates/index.html | 1 +
 1 file changed, 1 insertion(+)

diff --git a/templates/index.html b/templates/index.html
index 7b81b6f..4ffeb51 100644
--- a/templates/index.html
+++ a/templates/index.html
@@ -10,6 +10,7 @@
        background: none;
        border: none;
        outline: 0;
        padding: 0;

        resize: none;
        overflow: auto;