mirror of
https://github.com/wukko/cobalt.git
synced 2024-11-15 04:39:58 +00:00
web/SidebarTab: add aria label for beta tabs & fix its position
This commit is contained in:
parent
9e8c953ca6
commit
b03c71eb14
2 changed files with 4 additions and 2 deletions
|
@ -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…
Reference in a new issue