1
0
mirror of https://github.com/mifi/lossless-cut.git synced 2024-11-22 10:22:31 +01:00

fix shriking of icon when narrow seg

This commit is contained in:
Mikael Finstad 2020-02-17 00:01:17 +08:00
parent fa65b283ae
commit c1d6711861

View File

@ -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>