style: timestamp
This commit is contained in:
@ -306,12 +306,15 @@ function PreviewToolbar({ hasAnyElements }: { hasAnyElements: boolean }) {
|
|||||||
<div>
|
<div>
|
||||||
<p
|
<p
|
||||||
className={cn(
|
className={cn(
|
||||||
"text-xs text-muted-foreground tabular-nums",
|
"text-[0.75rem] text-muted-foreground tabular-num flex items-center gap-1",
|
||||||
!hasAnyElements && "opacity-50"
|
!hasAnyElements && "opacity-50"
|
||||||
)}
|
)}
|
||||||
>
|
>
|
||||||
{formatTimeCode(currentTime, "HH:MM:SS:CS")}/
|
<span className="text-primary">
|
||||||
{formatTimeCode(getTotalDuration(), "HH:MM:SS:CS")}
|
{formatTimeCode(currentTime, "HH:MM:SS:CS")}
|
||||||
|
</span>
|
||||||
|
<span className="opacity-50">/</span>
|
||||||
|
<span>{formatTimeCode(getTotalDuration(), "HH:MM:SS:CS")}</span>
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
<Button
|
<Button
|
||||||
|
Reference in New Issue
Block a user