From f9371d539aa35ee9ebb96cfe89c02e1f41340707 Mon Sep 17 00:00:00 2001 From: Xiao Yijun Date: Thu, 16 Feb 2023 14:00:44 +0800 Subject: [PATCH] style(console): copy to clipboard icon size (#3118) --- packages/console/src/assets/images/copy.svg | 6 ++---- packages/console/src/components/CopyToClipboard/index.tsx | 2 ++ 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/console/src/assets/images/copy.svg b/packages/console/src/assets/images/copy.svg index 88abbf65e..3bf82e260 100644 --- a/packages/console/src/assets/images/copy.svg +++ b/packages/console/src/assets/images/copy.svg @@ -1,5 +1,3 @@ - - + + diff --git a/packages/console/src/components/CopyToClipboard/index.tsx b/packages/console/src/components/CopyToClipboard/index.tsx index 224dcf1ba..70ebf465d 100644 --- a/packages/console/src/components/CopyToClipboard/index.tsx +++ b/packages/console/src/components/CopyToClipboard/index.tsx @@ -77,6 +77,7 @@ const CopyToClipboard = ({ {showHiddenContent ? : } @@ -91,6 +92,7 @@ const CopyToClipboard = ({ ref={copyIconReference} className={styles.iconButton} iconClassName={styles.icon} + size="small" onClick={copy} >