Fixed bg
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
DutchEllie 2022-03-24 14:50:36 +01:00
parent 7717210578
commit 08514b50c6
Signed by: DutchEllie
SSH Key Fingerprint: SHA256:dKq6ZSgN5E3Viqrw/+xAdf2VdR6hdRGNyrYqXXwfjTY
2 changed files with 17 additions and 22 deletions

View File

@ -53,12 +53,6 @@ func (p *page) Render() app.UI {
p.IbackgroundClass = app.AppendClass(p.IbackgroundClass, "background")
}
return app.Div().
Class(p.IbackgroundClass).
Body(
app.Range(p.Ibackground).Slice(func(i int) app.UI {
return p.Ibackground[i]
}),
app.Div().
Class("main").
Body(
// Header and navbar
@ -78,6 +72,5 @@ func (p *page) Render() app.UI {
return p.Imain[i]
}),
),
),
)
}

View File

@ -7,11 +7,13 @@ html {
body {
margin: 0px;
height: 100%;
background-image: url(images/background_star.gif);
}
.background {
background-image: url(images/background_star.gif);
width: 100%;
height: 100vh;
position: absolute;
}