mirror of
https://github.com/stashapp/stash.git
synced 2025-12-06 08:26:00 +01: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
1 changed files with 7 additions and 3 deletions
|
|
@ -373,9 +373,13 @@ const SceneCardImage = PatchComponent(
|
||||||
) : (
|
) : (
|
||||||
""
|
""
|
||||||
)}
|
)}
|
||||||
{(file?.duration ?? 0) >= 1
|
{(file?.duration ?? 0) >= 1 ? (
|
||||||
? TextUtils.secondsToTimestamp(file?.duration ?? 0)
|
<span className="overlay-duration">
|
||||||
: ""}
|
{TextUtils.secondsToTimestamp(file?.duration ?? 0)}
|
||||||
|
</span>
|
||||||
|
) : (
|
||||||
|
""
|
||||||
|
)}
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue