fix: margin-x for thinner screens

Signed-off-by: jolheiser <john.olheiser@gmail.com>
ffdhall
jolheiser 2024-03-07 19:59:46 -06:00
parent 67d16f4d3e
commit 2615593c2f
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:title" content={ bc.Title }/>
<meta property="og:description" content={ bc.Description }/> <meta property="og:description" content={ bc.Description }/>
</head> </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 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> <h2 class="text-text text-xl mb-3"><a class="underline decoration-text/50 decoration-dashed hover:decoration-solid" href="/">Home</a></h2>
{ children... } { children... }
</body> </body>

View File

@ -57,7 +57,7 @@ func base(bc BaseContext) templ.Component {
if templ_7745c5c3_Err != nil { if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err 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 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 { if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err return templ_7745c5c3_Err
} }

File diff suppressed because one or more lines are too long