fix podcast comment action label in timeline
This commit is contained in:
parent
5959f52fc1
commit
aeea2e8f02
3 changed files with 9 additions and 7 deletions
|
@ -47,7 +47,7 @@
|
|||
transition: transform 0.2s ease-in-out;
|
||||
filter: drop-shadow(0 0.2rem 0.8rem rgba(0, 0, 0, 0.2));
|
||||
max-width: 80%;
|
||||
max-height: 50vh;
|
||||
max-height: 18rem;
|
||||
}
|
||||
|
||||
.item-edit,
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
:root {
|
||||
--pico-font-size: 90%;
|
||||
--pico-font-size: 100%;
|
||||
}
|
||||
|
||||
@media (max-width: 1200px) {
|
||||
|
|
|
@ -1048,13 +1048,15 @@ class Mark:
|
|||
|
||||
@property
|
||||
def action_label(self):
|
||||
return (
|
||||
self.owner.shelf_manager.get_action_label(
|
||||
if self.shelfmember:
|
||||
return self.owner.shelf_manager.get_action_label(
|
||||
self.shelf_type, self.item.category
|
||||
)
|
||||
if self.shelfmember
|
||||
else None
|
||||
)
|
||||
if self.comment:
|
||||
return self.owner.shelf_manager.get_action_label(
|
||||
ShelfType.PROGRESS, self.comment.item.category
|
||||
)
|
||||
return ""
|
||||
|
||||
@property
|
||||
def shelf_label(self):
|
||||
|
|
Loading…
Add table
Reference in a new issue