Fix magic shelf physical book filter, shorten badge, and punch up heart icon (#2888)

This commit is contained in:
ACX
2026-02-23 16:16:47 -07:00
committed by GitHub
parent 43996d1d22
commit 0136060d43
5 changed files with 18 additions and 12 deletions
@@ -365,7 +365,7 @@
color: #fff;
}
.book-type-physical {
.book-type-phy {
background: var(--book-type-physical-color);
color: #fff;
}
@@ -800,7 +800,7 @@ export class BookCardComponent implements OnInit, OnChanges, OnDestroy {
getDisplayFormat(): string | null {
if (!this.book?.primaryFile) {
return 'PHYSICAL';
return 'PHY';
}
if (this.forceEbookMode && this.book.primaryFile?.bookType === 'AUDIOBOOK') {
const ebookType = this.getEbookType(this.book);