feat: display the covers as squares

This commit is contained in:
Blondel MONDESIR 2023-07-13 18:22:52 -04:00
parent bd461fd0ed
commit 3884ff058b
1 changed files with 11 additions and 4 deletions

View File

@ -147,11 +147,18 @@ table .bg-dark-danger a { color: #fff; }
.cover { margin-bottom: 10px; }
.container-fluid .book .cover {
height: auto;
width: 180px;
height: 180px;
position: relative;
display: flex;
align-items: center;
justify-content: center;
overflow: hidden;
border: 1px solid #ddd;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.container-fluid .book .cover img {
width: 100%;
height: 100%;
object-fit: cover;
}
.author-link img {