mirror of
https://github.com/stashapp/stash.git
synced 2025-12-17 04:14:39 +03: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:
@@ -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>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user