diff options
Diffstat (limited to 'apps/web/src')
| -rw-r--r-- | apps/web/src/components/editor/preview-panel.tsx | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/apps/web/src/components/editor/preview-panel.tsx b/apps/web/src/components/editor/preview-panel.tsx index 197e8225..09341ee9 100644 --- a/apps/web/src/components/editor/preview-panel.tsx +++ b/apps/web/src/components/editor/preview-panel.tsx @@ -306,15 +306,17 @@ function PreviewToolbar({ hasAnyElements }: { hasAnyElements: boolean }) { <div> <p className={cn( - "text-[0.75rem] text-muted-foreground tabular-num flex items-center gap-1", + "text-[0.75rem] text-muted-foreground flex items-center gap-1", !hasAnyElements && "opacity-50" )} > - <span className="text-primary"> + <span className="text-primary tabular-nums"> {formatTimeCode(currentTime, "HH:MM:SS:CS")} </span> <span className="opacity-50">/</span> - <span>{formatTimeCode(getTotalDuration(), "HH:MM:SS:CS")}</span> + <span className="tabular-nums"> + {formatTimeCode(getTotalDuration(), "HH:MM:SS:CS")} + </span> </p> </div> <Button |
