The swiss army knife of lossless video/audio editing
improve batch file list layout
Mikael Finstadb7f1993330e2
diff --git a/src/components/BatchFile.jsx b/src/components/BatchFile.jsxindex 81e22f91..5e0587ff 100644--- a/src/components/BatchFile.jsx+++ b/src/components/BatchFile.jsx@@ -17,13 +17,12 @@ const BatchFile = memo(({ path, filePath, name, onOpen, onDelete }) => {const isCurrent = path === filePath;return (- <div ref={ref} role="button" style={{ background: isCurrent ? 'rgba(255,255,255,0.15)' : undefined, fontSize: 13, padding: '1px 3px', cursor: 'pointer', display: 'flex', alignItems: 'center', minHeight: 30, alignContent: 'flex-start' }} title={path} onClick={() => onOpen(path)}>- <div style={{ flexBasis: 5, flexShrink: 1 }} />+ <div ref={ref} role="button" style={{ background: isCurrent ? 'rgba(255,255,255,0.15)' : undefined, fontSize: 13, padding: '3px 6px', display: 'flex', alignItems: 'center', alignContent: 'flex-start' }} title={path} onClick={() => onOpen(path)}><FaFile size={14} style={{ color: primaryTextColor, flexShrink: 0 }} />- <div style={{ flexBasis: 10, flexShrink: 1 }} />- <div style={{ wordBreak: 'break-all' }}>{name}</div>+ <div style={{ flexBasis: 4, flexShrink: 0 }} />+ <div style={{ whiteSpace: 'nowrap', cursor: 'pointer', overflow: 'hidden' }}>{name}</div><div style={{ flexGrow: 1 }} />- {isCurrent && <FaAngleRight size={14} style={{ color: 'white', marginRight: -3, flexShrink: 0 }} />}+ {isCurrent && <FaAngleRight size={14} style={{ color: 'white', marginRight: -5, flexShrink: 0 }} />}</div>);});