web: global data-focus-ring-hidden attribute

This commit is contained in:
wukko
2024-07-23 14:41:55 +06:00
parent 19ee8360c4
commit 23c9eb73aa
5 changed files with 22 additions and 21 deletions

View File

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