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