mirror of
git://github.com/kovidgoyal/calibre.git
synced 2025-12-22 14:36:10 +01:00
Fix extra dot below quick highlight icon
This commit is contained in:
parent
62c82232c5
commit
60f37faefd
1 changed files with 2 additions and 2 deletions
|
|
@ -149,7 +149,7 @@ def quick_highlight_icon(name, tooltip, hcolor):
|
||||||
style=f'width: {ICON_SIZE}; height: {ICON_SIZE}; display: flex; flex-direction: column',
|
style=f'width: {ICON_SIZE}; height: {ICON_SIZE}; display: flex; flex-direction: column',
|
||||||
title=tooltip or '',
|
title=tooltip or '',
|
||||||
svg,
|
svg,
|
||||||
E.div(style=f'width: {ICON_SIZE}; height: 1ex; background-color: {hcolor}; color: {hcolor}; margin: 0', '.')
|
E.div(style=f'width: {ICON_SIZE}; height: 1ex; background-color: {hcolor}; color: {hcolor}; margin: 0')
|
||||||
)
|
)
|
||||||
return ans
|
return ans
|
||||||
|
|
||||||
|
|
@ -166,7 +166,7 @@ def a(icon, text, func, needs_highlight):
|
||||||
all_actions.ans = {
|
all_actions.ans = {
|
||||||
'copy': a('copy', _('Copy to clipboard'), 'copy_to_clipboard'),
|
'copy': a('copy', _('Copy to clipboard'), 'copy_to_clipboard'),
|
||||||
'lookup': a('library', _('Lookup/search selected word'), 'lookup'),
|
'lookup': a('library', _('Lookup/search selected word'), 'lookup'),
|
||||||
'quick_highlight': a('highlight', _('Quick highlight in current color'), 'quick_highlight'),
|
'quick_highlight': a('highlight', _('Quick highlight in current style'), 'quick_highlight'),
|
||||||
'highlight': a('highlight', _('Highlight selection'), 'create_highlight'),
|
'highlight': a('highlight', _('Highlight selection'), 'create_highlight'),
|
||||||
'search': a('search', _('Search for selection in the book'), 'book_search'),
|
'search': a('search', _('Search for selection in the book'), 'book_search'),
|
||||||
'search_net': a('global-search', _('Search for selection on the net'), 'internet_search'),
|
'search_net': a('global-search', _('Search for selection on the net'), 'internet_search'),
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue