Skip to content

Commit

Permalink
fixed column design home page
Browse files Browse the repository at this point in the history
  • Loading branch information
Blueblazer172 committed Jun 13, 2021
1 parent 7c9e4ba commit b20ebf1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Binary file modified db.sqlite
Binary file not shown.
4 changes: 2 additions & 2 deletions views/pages/index.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
<div class="row">
<% books.forEach(function(book) { %>
<div class="col col-lg-4 row-eq-height">
<div class="card mb-3 p-3">
<div class="card mb-3 p-3 col-lg-12">
<div class="row mt-2">
<div class="col col-lg-12">
<h5 class="card-title" id="title">
Expand All @@ -62,7 +62,7 @@
<div class="row mt-2">
<div class="col col-lg-12">
<a href="/book/<%= book.id %>">
<img src="/public/books/covers/<%= book.cover %>" width="200px" height="auto" alt="<%= book.title %>">
<img src="/public/books/covers/<%= book.cover %>" width="auto" height="200px" alt="<%= book.title %>">
</a>
</div>
</div>
Expand Down

0 comments on commit b20ebf1

Please sign in to comment.