Skip to content

The swiss army knife of lossless video/audio editing

fix shriking of icon when narrow seg

Mikael Finstadc1d671186176
diff --git a/src/TimelineSeg.jsx b/src/TimelineSeg.jsx
index a3be422e..2ce8db4f 100644
--- a/src/TimelineSeg.jsx
+++ b/src/TimelineSeg.jsx
@@ -73,10 +73,10 @@ const TimelineSeg = ({
initial={{ scale: 0 }}
animate={{ scale: 1 }}
exit={{ scale: 0 }}
- style={{ width: 16, height: 16 }}
+ style={{ width: 16, height: 16, flexShrink: 1 }}
>
<FaTrashAlt
- style={{ flexShrink: 1, color: strongColor }}
+ style={{ width: '100%', color: strongColor }}
size={16}
/>
</motion.div>