fix: margins on mobile

Signed-off-by: jolheiser <john.olheiser@gmail.com>
main
jolheiser 2024-03-27 21:25:20 -05:00
parent 57e00fa690
commit b32eb0a759
Signed by: jolheiser
GPG Key ID: B853ADA5DA7BBF7A
3 changed files with 3 additions and 3 deletions

View File

@ -17,7 +17,7 @@ templ base(bc BaseContext) {
<meta property="og:title" content={ bc.Title }/>
<meta property="og:description" content={ bc.Description }/>
</head>
<body class="latte dark:mocha bg-base/50 dark:bg-base/95 max-w-7xl mx-auto my-10">
<body class="latte dark:mocha bg-base/50 dark:bg-base/95 max-w-7xl mx-5 sm:mx-auto my-10">
<h2 class="text-text text-xl mb-3"><a class="underline decoration-text/50 decoration-dashed hover:decoration-solid" href="/">Home</a></h2>
{ children... }
</body>

View File

@ -57,7 +57,7 @@ func base(bc BaseContext) templ.Component {
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
_, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString("\"></head><body class=\"latte dark:mocha bg-base/50 dark:bg-base/95 max-w-7xl mx-auto my-10\"><h2 class=\"text-text text-xl mb-3\"><a class=\"underline decoration-text/50 decoration-dashed hover:decoration-solid\" href=\"/\">")
_, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString("\"></head><body class=\"latte dark:mocha bg-base/50 dark:bg-base/95 max-w-7xl mx-5 sm:mx-auto my-10\"><h2 class=\"text-text text-xl mb-3\"><a class=\"underline decoration-text/50 decoration-dashed hover:decoration-solid\" href=\"/\">")
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}

File diff suppressed because one or more lines are too long