mirror of
https://github.com/TecharoHQ/anubis.git
synced 2025-09-08 04:05:23 -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>
|
||||
<body id="top">
|
||||
<main>
|
||||
<center>
|
||||
<h1 id="title" class=".centered-div">{ title }</h1>
|
||||
</center>
|
||||
<h1 id="title" class="centered-div">{ title }</h1>
|
||||
@body
|
||||
<footer>
|
||||
<center>
|
||||
<div class="centered-div">
|
||||
<p>
|
||||
{ localizer.T("protected_by") } <a href="https://github.com/TecharoHQ/anubis">Anubis</a> from <a
|
||||
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>
|
||||
</p>
|
||||
}
|
||||
</center>
|
||||
</div>
|
||||
</footer>
|
||||
</main>
|
||||
</body>
|
||||
|
Loading…
x
Reference in New Issue
Block a user