fix: smooth scrolling and screen
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user