mirror of
https://github.com/TecharoHQ/anubis.git
synced 2025-09-10 05:04:53 -04:00
Fix centered-div class usage in index.templ
There was a redundant <center> tag around a div with centered-div class. Well, not so redundant because a typo in the class attribute caused it to not apply. Removed another <center> tag and replaced by a div.centered-div for consistency. Signed-off-by: Jesús Martínez Novo <martineznovo@gmail.com>
This commit is contained in:
parent
95768cb70f
commit
e2d99fd1fa
@ -65,12 +65,10 @@ templ base(title string, body templ.Component, impressum *config.Impressum, chal
|
|||||||
</head>
|
</head>
|
||||||
<body id="top">
|
<body id="top">
|
||||||
<main>
|
<main>
|
||||||
<center>
|
<h1 id="title" class="centered-div">{ title }</h1>
|
||||||
<h1 id="title" class=".centered-div">{ title }</h1>
|
|
||||||
</center>
|
|
||||||
@body
|
@body
|
||||||
<footer>
|
<footer>
|
||||||
<center>
|
<div class="centered-div">
|
||||||
<p>
|
<p>
|
||||||
{ localizer.T("protected_by") } <a href="https://github.com/TecharoHQ/anubis">Anubis</a> from <a
|
{ localizer.T("protected_by") } <a href="https://github.com/TecharoHQ/anubis">Anubis</a> from <a
|
||||||
href="https://techaro.lol"
|
href="https://techaro.lol"
|
||||||
@ -83,7 +81,7 @@ templ base(title string, body templ.Component, impressum *config.Impressum, chal
|
|||||||
-- <a href={ templ.SafeURL(fmt.Sprintf("%simprint", anubis.APIPrefix)) }>Imprint</a>
|
-- <a href={ templ.SafeURL(fmt.Sprintf("%simprint", anubis.APIPrefix)) }>Imprint</a>
|
||||||
</p>
|
</p>
|
||||||
}
|
}
|
||||||
</center>
|
</div>
|
||||||
</footer>
|
</footer>
|
||||||
</main>
|
</main>
|
||||||
</body>
|
</body>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user