This commit is contained in:
Kovid Goyal 2023-02-02 21:54:15 +05:30
parent ae5dbbe786
commit c8cbe7a496
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C
2 changed files with 2 additions and 2 deletions

View File

@ -242,7 +242,7 @@ class TouchHandler:
self.handle_gesture(gesture)
def inch_in_pixels():
ans = inch_in_pixels().ans
ans = inch_in_pixels.ans
if not ans:
ans = inch_in_pixels.ans = max(2, get_unit_size_in_pixels('in'))
return ans

View File

@ -162,7 +162,7 @@ class ReadUI:
div.appendChild(E.div(style='padding: 2ex 2rem; display:table; margin: auto'))
div = div.lastChild
dp = E.div()
create_simple_dialog_markup(title, _('Could not open {}. {}').format(book, msg), details, 'bug', '', dp)
create_simple_dialog_markup(title, _('Could not open {}. {}').format(book, msg), details, 'bug', '', 'red', dp)
div.appendChild(dp)
div.appendChild(E.div(
style='margin-top: 1ex; padding-top: 1ex; border-top: solid 1px currentColor',