Mobile fixes for horizontal scrolling

This commit is contained in:
Justin Edmund 2025-06-10 09:44:23 -07:00
parent 204cba0e6d
commit 315a4ba102
2 changed files with 9 additions and 1 deletions

View file

@ -3,7 +3,7 @@
<head>
<meta charset="utf-8" />
<link rel="icon" href="%sveltekit.assets%/favicon.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" />
<meta property="og:title" content="@jedmund" />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://jedmund.com" />

View file

@ -9,6 +9,14 @@ body {
font-family: 'cstd', 'Helvetica Neue', Arial, sans-serif;
font-weight: 400;
line-height: 1.4;
overflow-x: hidden;
width: 100%;
}
// Prevent horizontal scroll
html {
overflow-x: hidden;
width: 100%;
}
// Heading font weights