mirror of
https://github.com/stashapp/stash.git
synced 2025-12-10 20:36:45 -06:00
Add Overlay-duration to span (#5177)
Adding overlay-duration so it has it's own dedicated class. Helps with theming/customization closes https://github.com/stashapp/stash/issues/4240
This commit is contained in:
parent
cdea9374d8
commit
c69d72b243
@ -373,9 +373,13 @@ const SceneCardImage = PatchComponent(
|
||||
) : (
|
||||
""
|
||||
)}
|
||||
{(file?.duration ?? 0) >= 1
|
||||
? TextUtils.secondsToTimestamp(file?.duration ?? 0)
|
||||
: ""}
|
||||
{(file?.duration ?? 0) >= 1 ? (
|
||||
<span className="overlay-duration">
|
||||
{TextUtils.secondsToTimestamp(file?.duration ?? 0)}
|
||||
</span>
|
||||
) : (
|
||||
""
|
||||
)}
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user