improve merge button

context-isolation-test
Mikael Finstad 2021-03-29 22:21:21 +07:00
rodzic f35e9d270c
commit 5e1700ef04
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 25AB36E3E81CBC26
1 zmienionych plików z 3 dodań i 2 usunięć

Wyświetl plik

@ -52,11 +52,12 @@ const MergeExportButton = memo(({ autoMerge, enabledOutSegments, setAutoMerge, a
return (
<Button
height={20}
style={{ opacity: enabledOutSegments && enabledOutSegments.length < 2 ? 0.4 : undefined }}
style={{ minWidth: 120, textAlign: 'center', opacity: enabledOutSegments && enabledOutSegments.length < 2 ? 0.4 : undefined }}
title={description}
onClick={withBlur(onClick)}
iconBefore={AutoMergeIcon && (() => <AutoMergeIcon />)}
>
{AutoMergeIcon && <AutoMergeIcon />} {title}
{title}
</Button>
);
});