0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2024-12-16 20:26:19 -05:00

style(console): copy to clipboard icon size (#3118)

This commit is contained in:
Xiao Yijun 2023-02-16 14:00:44 +08:00 committed by GitHub
parent 06f98b6dc9
commit f9371d539a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View file

@ -1,5 +1,3 @@
<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
<path
d="M10.667 17.3333H2.33366C1.88705 17.3488 1.45405 17.1782 1.13806 16.8622C0.822075 16.5462 0.651469 16.1132 0.666989 15.6666V7.33329C0.651469 6.88669 0.822075 6.45369 1.13806 6.1377C1.45405 5.82171 1.88705 5.6511 2.33366 5.66662H5.66699V2.33329C5.65147 1.88669 5.82208 1.45368 6.13806 1.1377C6.45405 0.821709 6.88705 0.651103 7.33366 0.666623H15.667C16.1136 0.651103 16.5466 0.821709 16.8626 1.1377C17.1786 1.45368 17.3492 1.88669 17.3337 2.33329V10.6666C17.3489 11.1132 17.1782 11.546 16.8623 11.8619C16.5464 12.1779 16.1135 12.3486 15.667 12.3333H12.3337V15.6666C12.3489 16.1132 12.1782 16.546 11.8623 16.8619C11.5464 17.1779 11.1135 17.3486 10.667 17.3333ZM2.33366 7.33329V15.6666H10.667V12.3333H7.33366C6.88712 12.3486 6.45427 12.1779 6.13834 11.8619C5.82241 11.546 5.65172 11.1132 5.66699 10.6666V7.33329H2.33366ZM7.33366 2.33329V10.6666H15.667V2.33329H7.33366Z"
fill="currentColor" />
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M9.3333 14.6667H2.66663C2.30935 14.6791 1.96295 14.5426 1.71016 14.2898C1.45737 14.037 1.32088 13.6906 1.3333 13.3333V6.66666C1.32088 6.30938 1.45737 5.96298 1.71016 5.71019C1.96295 5.4574 2.30935 5.32091 2.66663 5.33333H5.3333V2.66666C5.32088 2.30938 5.45737 1.96298 5.71016 1.71019C5.96295 1.4574 6.30935 1.32091 6.66663 1.33333H13.3333C13.6906 1.32091 14.037 1.4574 14.2898 1.71019C14.5426 1.96298 14.679 2.30938 14.6666 2.66666V9.33333C14.6788 9.69056 14.5423 10.0368 14.2896 10.2896C14.0368 10.5423 13.6905 10.6789 13.3333 10.6667H10.6666V13.3333C10.6788 13.6906 10.5423 14.0368 10.2896 14.2896C10.0368 14.5423 9.69053 14.6789 9.3333 14.6667ZM2.66663 6.66666V13.3333H9.3333V10.6667H6.66663C6.3094 10.6789 5.96312 10.5423 5.71038 10.2896C5.45763 10.0368 5.32108 9.69056 5.3333 9.33333V6.66666H2.66663ZM6.66663 2.66666V9.33333H13.3333V2.66666H6.66663Z" fill="currentColor"/>
</svg>

Before

Width:  |  Height:  |  Size: 1,011 B

After

Width:  |  Height:  |  Size: 990 B

View file

@ -77,6 +77,7 @@ const CopyToClipboard = ({
<IconButton
className={styles.iconButton}
iconClassName={styles.icon}
size="small"
onClick={toggleHiddenContent}
>
{showHiddenContent ? <EyeClosed /> : <Eye />}
@ -91,6 +92,7 @@ const CopyToClipboard = ({
ref={copyIconReference}
className={styles.iconButton}
iconClassName={styles.icon}
size="small"
onClick={copy}
>
<Copy />