From 252c809f92a2567d96686bd5f070ca7b8045bfb6 Mon Sep 17 00:00:00 2001 From: mappu Date: Sun, 9 Apr 2023 18:46:11 +1200 Subject: [PATCH] webui: prevent zooming into the textarea --- webui.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/webui.go b/webui.go index 1021f80..96739c2 100644 --- a/webui.go +++ b/webui.go @@ -14,7 +14,7 @@ func (this *Application) GET_Root(w http.ResponseWriter, r *http.Request) { w.Write([]byte(` - + ` + html.EscapeString(AppTitle) + ` @@ -83,6 +83,8 @@ textarea { width: calc(100% - 16px); padding: 8px 8px 4px 8px; + font-size: 16px; /* Prevent Safari autozoom */ + resize: none; outline: none; box-shadow: none;