feat: add image zoom options (#984)

This commit is contained in:
Aman Harwara
2022-04-19 14:00:23 +05:30
committed by GitHub
parent b6eeaea516
commit a78c0ce2a1
13 changed files with 108 additions and 26 deletions

View File

@@ -11,7 +11,7 @@ export const CopyButton: FunctionComponent<{ copyValue: string }> = ({ copyValue
focusable={false}
title="Copy to clipboard"
icon={isCopied ? 'check' : 'copy'}
className={isCopied ? 'success' : undefined}
className={`${isCopied ? 'success' : undefined} p-0`}
onClick={() => {
navigator?.clipboard?.writeText(secretKey).catch(console.error)
setCopied(() => true)

View File

@@ -22,6 +22,7 @@ export const SaveSecretKey: FunctionComponent<{
focusable={false}
title="Download"
icon="download"
className="p-0"
onClick={() => {
downloadSecretKey(act.secretKey)
}}