add Unread badges (#48)

* Added conditional unread badges

* Better spacing for unread badges

* Revert minHeight change as it is not relating to this feature

* Change to flexbox
This commit is contained in:
Sascha Hahne
2021-10-26 10:32:30 +03:30
committed by GitHub
parent 2a6f8ed41d
commit 663232cd99
2 changed files with 25 additions and 4 deletions
+2
View File
@@ -34,6 +34,7 @@ interface IMangaCard {
id: number
title: string
thumbnailUrl: string
unread_count?: number
}
interface IManga {
@@ -56,6 +57,7 @@ interface IManga {
realUrl: string
freshData: boolean
unread_count?: number
}
interface IChapter {