From e3cace6eb86baf599e1c74e3128b77f5ae7ce3b6 Mon Sep 17 00:00:00 2001 From: Sam Date: Mon, 28 Oct 2024 14:17:18 -0400 Subject: [PATCH] prevent zoom on mobile --- src/web/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/web/mod.rs b/src/web/mod.rs index 54c2107..b4c0a5d 100644 --- a/src/web/mod.rs +++ b/src/web/mod.rs @@ -127,7 +127,7 @@ pub fn head_html(title: Option<&str>, config: &Config) -> Markup { html! { head { meta charset="UTF-8"; - meta name="viewport" content="width=device-width, initial-scale=1.0"; + meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1"; title { @if let Some(title) = title { { (title) }