fixed base layout so the footer stays down
This commit is contained in:
parent
03330e0c67
commit
4c7f72570e
2 changed files with 2 additions and 2 deletions
|
@ -13,7 +13,7 @@ templ Base(title string) {
|
|||
<title>{title}</title>
|
||||
<link rel="stylesheet" href="/assets/styles.css"/>
|
||||
</head>
|
||||
<body>
|
||||
<body class="flex flex-col min-h-screen">
|
||||
<header>
|
||||
@NavBar(title)
|
||||
</header>
|
||||
|
|
|
@ -46,7 +46,7 @@ func Base(title string) templ.Component {
|
|||
if templ_7745c5c3_Err != nil {
|
||||
return templ_7745c5c3_Err
|
||||
}
|
||||
templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 2, "</title><link rel=\"stylesheet\" href=\"/assets/styles.css\"></head><body><header>")
|
||||
templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 2, "</title><link rel=\"stylesheet\" href=\"/assets/styles.css\"></head><body class=\"flex flex-col min-h-screen\"><header>")
|
||||
if templ_7745c5c3_Err != nil {
|
||||
return templ_7745c5c3_Err
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue