mirror of
https://github.com/mifi/lossless-cut.git
synced 2024-11-22 18:32:34 +01:00
fix font size
This commit is contained in:
parent
6b5857b902
commit
f72b2e6e59
@ -99,7 +99,7 @@ const Segment = memo(({ seg, index, currentSegIndex, formatTimecode, getFrameCou
|
|||||||
>
|
>
|
||||||
<div style={{ color: 'white', marginBottom: 3, display: 'flex', alignItems: 'center', height: 16 }}>
|
<div style={{ color: 'white', marginBottom: 3, display: 'flex', alignItems: 'center', height: 16 }}>
|
||||||
{renderNumber()}
|
{renderNumber()}
|
||||||
<span style={{ fontSize: 310 / timeStr.length, whiteSpace: 'nowrap' }}>{timeStr}</span>
|
<span style={{ fontSize: Math.min(310 / timeStr.length, 14), whiteSpace: 'nowrap' }}>{timeStr}</span>
|
||||||
</div>
|
</div>
|
||||||
<div style={{ fontSize: 12, color: 'white' }}>{seg.name}</div>
|
<div style={{ fontSize: 12, color: 'white' }}>{seg.name}</div>
|
||||||
<div style={{ fontSize: 13 }}>
|
<div style={{ fontSize: 13 }}>
|
||||||
|
Loading…
Reference in New Issue
Block a user