web/updates: revert div -> main to fix html hierarchy

This commit is contained in:
wukko 2024-07-23 14:19:22 +06:00
parent 0d34bc0ab3
commit 19ee8360c4
No known key found for this signature in database
GPG key ID: 3E30B3F26C7B4AA2

View file

@ -70,7 +70,7 @@
<svelte:window on:keydown={handleKeydown} />
<main class="news" data-first-focus tabindex="-1">
<div class="news" data-first-focus tabindex="-1">
{#if changelog}
<div id="left-button" class="button-wrapper-desktop">
{#if prev}
@ -125,7 +125,7 @@
{/if}
</div>
{/if}
</main>
</div>
<style>
.news {
@ -135,6 +135,10 @@
justify-content: space-evenly;
}
.news:focus-visible {
box-shadow: none !important;
}
.button-wrapper-desktop {
display: flex;
justify-content: center;