From e5962ebfe7aed259802ec5043a5d644cb9cd1894 Mon Sep 17 00:00:00 2001 From: Rithas K Date: Sun, 2 Jun 2024 11:53:40 +0530 Subject: [PATCH] Fix textarea padding in Safari Use `box-sizing: border-box` to include padding in the width of the textarea. Also, > Box-sizing should be border-box by default from [csswg](https://wiki.csswg.org/ideas/mistakes) --- public/main.css | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/public/main.css b/public/main.css index 9c48afb..7a3d058 100644 --- a/public/main.css +++ b/public/main.css @@ -25,6 +25,10 @@ --textarea-border-dark: #454545; } +* { + box-sizing: border-box; +} + body { color: var(--text-light); background-color: var(--bg-light);