From c9a8f8051d5681e00ad0990f861c8b4bb364f902 Mon Sep 17 00:00:00 2001 From: robertu <4065233+robertu7@users.noreply.github.com> Date: Thu, 12 Oct 2023 10:56:21 +0700 Subject: [PATCH] feat(dialog): revise FingerprintDialog styles refs: - 2023-09-produce-02#PL-0012 --- public/static/icons/16px/copy.svg | 5 +- public/static/icons/16px/external-link.svg | 6 +- .../FingerprintDialog/ArticleSecret.tsx | 30 ++-- .../Dialogs/FingerprintDialog/Content.tsx | 145 ++++++++++-------- .../SectionCard/styles.module.css | 4 + .../FingerprintDialog/styles.module.css | 27 +++- .../Dialogs/RssFeedDialog/Content.tsx | 2 +- 7 files changed, 116 insertions(+), 103 deletions(-) diff --git a/public/static/icons/16px/copy.svg b/public/static/icons/16px/copy.svg index 6b2e06f9a0..f59ac3b1f7 100644 --- a/public/static/icons/16px/copy.svg +++ b/public/static/icons/16px/copy.svg @@ -1,4 +1,3 @@ - - - + + diff --git a/public/static/icons/16px/external-link.svg b/public/static/icons/16px/external-link.svg index 9f49631360..707176e3d4 100644 --- a/public/static/icons/16px/external-link.svg +++ b/public/static/icons/16px/external-link.svg @@ -1,5 +1,3 @@ - - - - + + diff --git a/src/components/Dialogs/FingerprintDialog/ArticleSecret.tsx b/src/components/Dialogs/FingerprintDialog/ArticleSecret.tsx index 4f08d27c33..d369db1fae 100644 --- a/src/components/Dialogs/FingerprintDialog/ArticleSecret.tsx +++ b/src/components/Dialogs/FingerprintDialog/ArticleSecret.tsx @@ -2,14 +2,7 @@ import { useQuery } from '@apollo/react-hooks' import gql from 'graphql-tag' import { useIntl } from 'react-intl' -import { - Button, - CopyToClipboard, - IconCopy16, - IconLocked24, - TextIcon, - Translate, -} from '~/components' +import { CopyToClipboard, IconCopy16, TextIcon, Translate } from '~/components' import { ArticleSecretQuery } from '~/gql/graphql' import styles from './styles.module.css' @@ -56,21 +49,18 @@ const ArticleSecretSection: React.FC = ({ id }) => {
- +
diff --git a/src/components/Dialogs/FingerprintDialog/Content.tsx b/src/components/Dialogs/FingerprintDialog/Content.tsx index 77995913da..8fa3c68e85 100644 --- a/src/components/Dialogs/FingerprintDialog/Content.tsx +++ b/src/components/Dialogs/FingerprintDialog/Content.tsx @@ -120,9 +120,10 @@ const FingerprintDialogContent = ({ } + icon={} spacing="xtight" - size="lg" + size="xm" + weight="md" > IPFS @@ -135,7 +136,7 @@ const FingerprintDialogContent = ({ /> } > - +

@@ -157,7 +158,7 @@ const FingerprintDialogContent = ({ />

-