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-high:#2f2827;
|
||||||
--surface-container-highest:#3b3332;
|
--surface-container-highest:#3b3332;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.loading-indicator
|
||||||
|
{
|
||||||
|
position: absolute;
|
||||||
|
top: 50%;
|
||||||
|
left: 50%;
|
||||||
|
transform: translate(-50%, -50%);
|
||||||
|
}
|
||||||
@@ -62,12 +62,13 @@ func Components.Shell(title, html, page, $mypage)
|
|||||||
</nav>
|
</nav>
|
||||||
|
|
||||||
<main class="responsive">
|
<main class="responsive">
|
||||||
|
<raw(html)>
|
||||||
|
|
||||||
|
|
||||||
|
</main>
|
||||||
<div class="htmx-indicator shape loading-indicator extra" id="loading-indicator">
|
<div class="htmx-indicator shape loading-indicator extra" id="loading-indicator">
|
||||||
<img class="responsive" src="./tytd.svg">
|
<img class="responsive" src="./tytd.svg">
|
||||||
</div>
|
</div>
|
||||||
<raw(html)>
|
|
||||||
</main>
|
|
||||||
|
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
</html>;
|
</html>;
|
||||||
|
|||||||
Reference in New Issue
Block a user