No underlined links

This commit is contained in:
Kovid Goyal 2022-06-09 17:38:18 +05:30
parent 7f8eba387f
commit c93c10f16d
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -424,6 +424,7 @@ class ResultDetails(QWidget):
pl.setScaledContents(True)
self.current_book_id = -1
self.book_info = HTMLDisplay(self)
self.book_info.setDefaultStyleSheet('a { text-decoration: none; }')
self.book_info.anchor_clicked.connect(self.mark_current_book)
def resizeEvent(self, ev):
@ -473,6 +474,7 @@ class DetailsPanel(QStackedWidget):
# help panel {{{
self.help_panel = hp = HTMLDisplay(self)
hp.setDefaultStyleSheet('a { text-decoration: none; }')
hp.setHtml('''
<style>
div { margin-top: 0.5ex }