mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 08:46:37 -04:00
avoid highlighting/tabbing to top bar
This commit is contained in:
parent
111727240b
commit
7120607dfe
2 changed files with 3 additions and 1 deletions
|
@ -44,7 +44,7 @@ class Toolbar:
|
|||
buf = ""
|
||||
for ln, name, title in links:
|
||||
buf += '''
|
||||
<a class=hitem aria-label="%s" title="%s" href=# onclick="return pycmd('%s')">%s</a>''' % (
|
||||
<a class=hitem tabindex="-1" aria-label="%s" title="%s" href=# onclick="return pycmd('%s')">%s</a>''' % (
|
||||
name, title, ln, name)
|
||||
return buf
|
||||
|
||||
|
|
|
@ -32,3 +32,5 @@ body {
|
|||
.hitem:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.hitem:focus { outline: 0; }
|
||||
|
|
Loading…
Reference in a new issue