webui: prevent zooming into the textarea

This commit is contained in:
mappu 2023-04-09 18:46:11 +12:00
parent f32864382f
commit 252c809f92

View File

@ -14,7 +14,7 @@ func (this *Application) GET_Root(w http.ResponseWriter, r *http.Request) {
w.Write([]byte(`<!DOCTYPE html>
<html>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<meta name="theme-color" content="#040c3a">
<link rel="icon" href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><text y=%22.9em%22 font-size=%2290%22>🦙</text></svg>">
<title>` + html.EscapeString(AppTitle) + `</title>
@ -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;