From 6db937bca6a91cdbb5446e6cef2dac9dbe250704 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Thu, 26 Sep 2019 13:26:29 +0530 Subject: [PATCH] Dont use simple-link for next buttons --- src/pyj/book_list/book_details.pyj | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pyj/book_list/book_details.pyj b/src/pyj/book_list/book_details.pyj index 2c217c5628..76f413e4b7 100644 --- a/src/pyj/book_list/book_details.pyj +++ b/src/pyj/book_list/book_details.pyj @@ -452,9 +452,9 @@ def render_book(container_id, book_id): 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)) )