From fa6a7f487a240b26e4502931c2bc8d315b4c9fcc Mon Sep 17 00:00:00 2001 From: Evan Jacobs Date: Wed, 4 Dec 2024 01:39:01 -0500 Subject: [PATCH] chore: fix site mobile style --- site.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/site.tsx b/site.tsx index 6db55fc5..079ea2c7 100644 --- a/site.tsx +++ b/site.tsx @@ -268,12 +268,15 @@ const Textarea = styled.textarea` color: inherit; position: sticky; top: 0; + flex-shrink: 0; font-family: 'Jetbrains Mono', Consolas, Monaco, monospace; font-size: inherit; max-height: 100vh; + resize: vertical; @media all and (max-width: 500px) { - height: 300px; + field-sizing: content; + max-height: 300px; position: relative; } `