mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-04-23 12:43:09 +02:00
Space out covers in the cover grid evenly. Also prevent horizontal scrollbars when zooming covers.
This commit is contained in:
parent
89b6941583
commit
2fd691874b
1 changed files with 1 additions and 1 deletions
|
|
@ -163,7 +163,7 @@ def got_more_books(self, end_type, xhr, event):
|
|||
|
||||
def init_cover_grid(self):
|
||||
div = self.grid
|
||||
set_css(div, display='flex', flex_wrap='wrap', justify_content='flex-start', align_items='flex-end', align_content='flex-start', user_select='none')
|
||||
set_css(div, display='flex', flex_wrap='wrap', justify_content='space-around', align_items='flex-end', align_content='flex-start', user_select='none', overflow_x='hidden')
|
||||
div.setAttribute('class', 'cover_grid')
|
||||
|
||||
def on_cover_grid_img_err(self, err):
|
||||
|
|
|
|||
Loading…
Reference in a new issue