mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-03-04 05:26:12 +01:00
Dont use simple-link for next buttons
This commit is contained in:
parent
0641384bc7
commit
6db937bca6
1 changed files with 2 additions and 2 deletions
|
|
@ -452,9 +452,9 @@ def next_book(delta):
|
|||
|
||||
def prev_next_button(is_prev):
|
||||
return E.div(
|
||||
style=f'border-radius: {border_radius//5}px; background-color:rgba({bsrgb[0]}, {bsrgb[1]}, {bsrgb[2]}, 0.75);',
|
||||
style=f'cursor: pointer; border-radius: {border_radius//5}px; background-color:rgba({bsrgb[0]}, {bsrgb[1]}, {bsrgb[2]}, 0.75);',
|
||||
title=_('Previous book') if is_prev else _('Next book'),
|
||||
class_='simple-link next-book-button',
|
||||
class_='next-book-button',
|
||||
svgicon('chevron-left' if is_prev else 'chevron-right'),
|
||||
onclick=next_book.bind(None, (-1 if is_prev else 1))
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in a new issue