seblucas / cops

Calibre OPDS (and HTML) PHP Server : web-based light alternative to Calibre content server / Calibre2OPDS to serve ebooks (epub, mobi, pdf, ...)
http://blog.slucas.fr/en/oss/calibre-opds-php-server
GNU General Public License v2.0
1.44k stars 229 forks source link

Display books in rows - Bootstrap grid alignment error #479

Open horus68 opened 4 years ago

horus68 commented 4 years ago

Using Cops with Bootstrap template I found an error with the grid layout.

Books should be displayed in rows but it don't work properly. With some books (that have more custom fields or more than one format) the second row do not flow properly. Any ideas to fix this?

See pics A grid of 3 books by line, looking fine 2020-05-20 20_08_10-Adicionados recentemente

horus68 commented 4 years ago

My fix was to change the panel default min-height I don't know if this is a proper fix but here it is!

in \templates\bootstrap\main.html , line 30: from <div class="panel panel-default" style="min-height: 320px;"> to <div class="panel panel-default" style="min-height: 520px;">