From 71b15b737b17668ba1230c7a0d69beddef54b64e Mon Sep 17 00:00:00 2001 From: Raul Lugo Date: Sat, 7 Feb 2026 23:34:20 +0100 Subject: [PATCH] feat: add small space when on input focus in phones to avoid hiding behind navbar --- src/styles/global.css | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/styles/global.css b/src/styles/global.css index 8c21d6a..79e92b0 100644 --- a/src/styles/global.css +++ b/src/styles/global.css @@ -11,6 +11,18 @@ @layer base { html { scroll-behavior: smooth; + @apply scroll-pt-20; /* 5rem = 80px */ + } + + body { + @apply scroll-pt-20; /* 5rem = 80px */ + } + + input, + textarea, + select, + [contenteditable="true"] { + @apply scroll-mt-32; /* 6rem = 96px */ } }