mirror of
https://github.com/ankitects/anki.git
synced 2025-11-14 08:37:11 -05:00
Add negative tabindex
This commit is contained in:
parent
b5b9c79f1c
commit
7f5e9b1b33
3 changed files with 3 additions and 2 deletions
|
|
@ -32,6 +32,6 @@
|
|||
}
|
||||
</style>
|
||||
|
||||
<button>
|
||||
<button tabindex="-1">
|
||||
<span class={className}> <input type="color" on:change={onChange} /> </span>
|
||||
</button>
|
||||
|
|
|
|||
|
|
@ -48,6 +48,7 @@
|
|||
<button
|
||||
class="p-1 {className}"
|
||||
class:active
|
||||
tabindex="-1"
|
||||
{disabled}
|
||||
on:click={onClick}
|
||||
on:mousedown|preventDefault>
|
||||
|
|
|
|||
|
|
@ -18,4 +18,4 @@
|
|||
}
|
||||
</style>
|
||||
|
||||
<button type="button" class="btn btn-secondary" on:click> {label} </button>
|
||||
<button class="btn btn-secondary" tabindex="-1" on:click> {label} </button>
|
||||
|
|
|
|||
Loading…
Reference in a new issue