Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Display books in rows - Bootstrap grid alignment error #479

Open
horus68 opened this issue May 20, 2020 · 1 comment
Open

Display books in rows - Bootstrap grid alignment error #479

horus68 opened this issue May 20, 2020 · 1 comment

Comments

@horus68
Copy link
Contributor

horus68 commented May 20, 2020

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

  • A grid of 2 books by line with flow alignment error (book n,3 should start the second line at left.
    2020-05-20 20_08_34-Adicionados recentemente

  • A grid on a large screen size with flow alignment error (book n.7 should start the line at the left)
    2020-05-20 20_07_52-Adicionados recentemente

@horus68
Copy link
Contributor Author

horus68 commented May 20, 2020

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;">

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant