mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix modal popup on iPhone 5
This commit is contained in:
parent
5e7f8ddb2d
commit
b3f119e34e
@ -53,7 +53,7 @@ class ModalContainer:
|
||||
# Popup style
|
||||
set_css(div.firstChild,
|
||||
position='relative', display='inline-block', top='50vh', transform='translateY(-50%)',
|
||||
min_width='25vw', max_width='75vw',
|
||||
min_width='25vw', max_width='70vw', # Needed for iPhone 5
|
||||
border_radius='1em', padding='1em 2em', margin_right='1em', margin_left='1em',
|
||||
background=get_color('dialog-background'), color=get_color('dialog-foreground'),
|
||||
background_image=get_color('dialog-background-image'), get_color('dialog-background'), get_color('dialog-background2')
|
||||
|
Loading…
x
Reference in New Issue
Block a user