mirror of
https://github.com/rjNemo/rentease.git
synced 2026-06-06 02:36:49 +00:00
body spacing
This commit is contained in:
parent
e72ad67c98
commit
5a566ac13d
2 changed files with 2 additions and 2 deletions
|
|
@ -6,7 +6,7 @@ templ BaseLayout() {
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="en" data-theme="dracula">
|
<html lang="en" data-theme="dracula">
|
||||||
@head()
|
@head()
|
||||||
<body hx-boost="true" style="display: flex; flex-direction: column; min-height: 100vh;">
|
<body hx-boost="true" class="min-h-screen flex flex-col p-4 sm:p-6 md:p-8">
|
||||||
@navbar()
|
@navbar()
|
||||||
<main class="container mx-auto flex flex-col flex-grow">
|
<main class="container mx-auto flex flex-col flex-grow">
|
||||||
{ children... }
|
{ children... }
|
||||||
|
|
|
||||||
|
|
@ -39,7 +39,7 @@ func BaseLayout() templ.Component {
|
||||||
if templ_7745c5c3_Err != nil {
|
if templ_7745c5c3_Err != nil {
|
||||||
return templ_7745c5c3_Err
|
return templ_7745c5c3_Err
|
||||||
}
|
}
|
||||||
templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 2, "<body hx-boost=\"true\" style=\"display: flex; flex-direction: column; min-height: 100vh;\">")
|
templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 2, "<body hx-boost=\"true\" class=\"min-h-screen flex flex-col p-4 sm:p-6 md:p-8\">")
|
||||||
if templ_7745c5c3_Err != nil {
|
if templ_7745c5c3_Err != nil {
|
||||||
return templ_7745c5c3_Err
|
return templ_7745c5c3_Err
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue