From 2c7ad19b44fe633da30aef210f414952c13b7e43 Mon Sep 17 00:00:00 2001 From: Sam Becker Date: Sat, 7 Oct 2023 11:14:21 -0500 Subject: [PATCH] Increase size of form text to avoid iOS auto-zoom --- src/site/globals.css | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/site/globals.css b/src/site/globals.css index 89efa7a3..a27992f7 100644 --- a/src/site/globals.css +++ b/src/site/globals.css @@ -18,7 +18,7 @@ tracking-wider } button, .button, - input[type=text], input[type=password] { + input[type=text], input[type=email], input[type=password] { @apply px-2 py-1.5 border rounded-md @@ -27,8 +27,9 @@ font-mono text-base leading-none min-h-[2.25rem] } - input[type=text], input[type=password] { + input[type=text], input[type=email], input[type=password] { @apply + text-[1rem] /* Prevent iOS auto-zoom behavior */ min-w-[20rem] read-only:cursor-default read-only:bg-gray-100 dark:read-only:bg-gray-900 dark:read-only:text-gray-400