mirror of
https://onedev.site.tesses.net/tytd2025
synced 2026-02-08 17:45:45 +00:00
Fix loading indicator
This commit is contained in:
@@ -76,3 +76,11 @@ body.dark {
|
||||
--surface-container-high:#2f2827;
|
||||
--surface-container-highest:#3b3332;
|
||||
}
|
||||
|
||||
.loading-indicator
|
||||
{
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
}
|
||||
@@ -62,13 +62,14 @@ func Components.Shell(title, html, page, $mypage)
|
||||
</nav>
|
||||
|
||||
<main class="responsive">
|
||||
<div class="htmx-indicator shape loading-indicator extra" id="loading-indicator">
|
||||
<img class="responsive" src="./tytd.svg">
|
||||
</div>
|
||||
<raw(html)>
|
||||
</main>
|
||||
|
||||
|
||||
</main>
|
||||
<div class="htmx-indicator shape loading-indicator extra" id="loading-indicator">
|
||||
<img class="responsive" src="./tytd.svg">
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>;
|
||||
}
|
||||
Reference in New Issue
Block a user