view: fix scrollbar appears in the bottom when using w-screen

This commit is contained in:
Tigor Hutasuhut 2024-05-04 15:24:52 +07:00
parent 59148bc259
commit 3f8f27270b

View file

@ -3,11 +3,11 @@ package components
import "github.com/tigorlazuardi/redmage/views" import "github.com/tigorlazuardi/redmage/views"
templ Body(c *views.Context) { templ Body(c *views.Context) {
<body class="bg-base-100 min-h-screen w-screen" hx-boost="true" hx-ext="response-targets"> <body class="bg-base-100 min-h-screen w-screen max-w-full" hx-boost="true" hx-ext="response-targets">
@Navigation(c) { @Navigation(c) {
<div class="flex"> <div class="flex">
@Navbar(c) @Navbar(c)
<div class="flex-1"> <div class="flex-grow">
{ children... } { children... }
</div> </div>
</div> </div>