fix: smooth scrolling and screen

This commit is contained in:
Gustavo "Guz" L. de Mello
2024-05-29 17:01:12 -03:00
parent 65d96abb40
commit 6258431a9d

View File

@@ -2,7 +2,7 @@ package layouts
templ Page(title string) {
<!DOCTYPE html>
<html lang="en-US">
<html lang="en-US" class="scroll-smooth">
<head>
<meta
name="viewport"
@@ -19,7 +19,7 @@ templ Page(title string) {
</head>
<body
class={ "flex flex-col justify-center items-center " +
"w-screen h-screen overflow-hidden text-white bg-black font-sans m-0" }
"w-screen overflow-x-hidden text-white bg-black font-sans m-0" }
>
{ children... }
</body>