Mobile fixes for horizontal scrolling
This commit is contained in:
parent
204cba0e6d
commit
315a4ba102
2 changed files with 9 additions and 1 deletions
|
|
@ -3,7 +3,7 @@
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8" />
|
<meta charset="utf-8" />
|
||||||
<link rel="icon" href="%sveltekit.assets%/favicon.svg" />
|
<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:title" content="@jedmund" />
|
||||||
<meta property="og:type" content="website" />
|
<meta property="og:type" content="website" />
|
||||||
<meta property="og:url" content="https://jedmund.com" />
|
<meta property="og:url" content="https://jedmund.com" />
|
||||||
|
|
|
||||||
|
|
@ -9,6 +9,14 @@ body {
|
||||||
font-family: 'cstd', 'Helvetica Neue', Arial, sans-serif;
|
font-family: 'cstd', 'Helvetica Neue', Arial, sans-serif;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
line-height: 1.4;
|
line-height: 1.4;
|
||||||
|
overflow-x: hidden;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Prevent horizontal scroll
|
||||||
|
html {
|
||||||
|
overflow-x: hidden;
|
||||||
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Heading font weights
|
// Heading font weights
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue