Fix: [BUG] buttons jitter left and right #67

This commit is contained in:
creotove
2025-06-25 08:36:27 +05:30
parent e8a22d99cb
commit 84d206c01e

View File

@ -602,9 +602,10 @@ export function Timeline() {
<div className="w-px h-6 bg-border mx-1" /> <div className="w-px h-6 bg-border mx-1" />
{/* Time Display */} {/* Time Display */}
<div className="text-xs text-muted-foreground font-mono px-2"> <div className="text-xs text-muted-foreground font-mono px-2"
{Math.floor(currentTime * 10) / 10}s /{" "} style={{ minWidth: '12ch', textAlign: 'right' }}
{Math.floor(duration * 10) / 10}s >
{currentTime.toFixed(1)}s / {duration.toFixed(1)}s
</div> </div>
<div className="w-px h-6 bg-border mx-1" /> <div className="w-px h-6 bg-border mx-1" />