mirror of
https://github.com/wukko/cobalt.git
synced 2025-05-09 10:14:26 +02:00
web/SidebarTab: add aria label for beta tabs & fix its position
This commit is contained in:
parent
9e8c953ca6
commit
b03c71eb14
@ -1,4 +1,5 @@
|
||||
{
|
||||
"cobalt": "cobalt",
|
||||
"meowbalt": "meowbalt"
|
||||
"meowbalt": "meowbalt",
|
||||
"beta": "beta"
|
||||
}
|
||||
|
@ -46,7 +46,7 @@
|
||||
aria-selected={isTabActive}
|
||||
>
|
||||
{#if beta}
|
||||
<div class="beta-sign">β</div>
|
||||
<div class="beta-sign" aria-label={$t("general.beta")}>β</div>
|
||||
{/if}
|
||||
<slot></slot>
|
||||
{$t(`tabs.${tabName}`)}
|
||||
@ -69,6 +69,7 @@
|
||||
|
||||
text-decoration: none;
|
||||
text-decoration-line: none;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.sidebar-tab :global(svg) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user