mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-07 18:24:30 -04:00
...
This commit is contained in:
parent
3e93f8f51e
commit
c9a8bd9884
@ -106,4 +106,5 @@ class CompletionPopup:
|
||||
cs.top = 'auto' if upwards else y + 'px'
|
||||
cs.bottom = y + 'px' if upwards else 'auto'
|
||||
cs.width = width + 'px'
|
||||
cs.maxHeight = ((y if upwards else window.innerHeight - y) - 10) + 'px'
|
||||
show_popup(self.container_id, *self.associated_widget_ids)
|
||||
|
Loading…
x
Reference in New Issue
Block a user