mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 14:32:22 -04:00
fix line break in sync link in the toolbar (#2022)
This commit is contained in:
parent
fc93ea3ecc
commit
45f2502e5b
1 changed files with 2 additions and 2 deletions
|
@ -144,8 +144,8 @@ class Toolbar:
|
|||
self.link_handlers[label] = self._syncLinkHandler
|
||||
|
||||
return f"""
|
||||
<a class=hitem tabindex="-1" aria-label="{name}" title="{title}" id="{label}" href=# onclick="return pycmd('{label}')">{name}
|
||||
<img id=sync-spinner src='/_anki/imgs/refresh.svg'>
|
||||
<a class=hitem tabindex="-1" aria-label="{name}" title="{title}" id="{label}" href=# onclick="return pycmd('{label}')"
|
||||
>{name}<img id=sync-spinner src='/_anki/imgs/refresh.svg'>
|
||||
</a>"""
|
||||
|
||||
def set_sync_active(self, active: bool) -> None:
|
||||
|
|
Loading…
Reference in a new issue