chore(ui): enforce placeholder aspect ratios (#320)

* chore(ui): enforce placeholder aspect ratios

* chore(ui): add proper cover crop behavior
This commit is contained in:
Alex
2026-04-22 17:26:59 -04:00
committed by Zach Yale
parent 02b2087c17
commit f376b68873
3 changed files with 4 additions and 1 deletions
@@ -60,7 +60,7 @@
.tooltip-cover-image {
width: 40rem;
height: auto;
aspect-ratio: 5 / 7;
}
.tooltip-cover-title {
@@ -6,6 +6,8 @@
.book-cover {
width: 100%;
aspect-ratio: 5 / 7;
object-fit: cover;
display: block;
border-radius: 0.5rem;
}