From c698c54f83f964b56a0d9b1ee95a3b2694d5248b Mon Sep 17 00:00:00 2001 From: bkioshn Date: Thu, 27 Apr 2023 09:40:42 +0700 Subject: [PATCH 1/2] fix: token card, font size, text color in blocks and account details page --- src/lib/components/modal/UnsupportedTokensModal.tsx | 1 + src/lib/pages/account-details/components/asset/index.tsx | 2 +- src/lib/pages/blocks/components/BlocksRow.tsx | 7 ++++++- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/src/lib/components/modal/UnsupportedTokensModal.tsx b/src/lib/components/modal/UnsupportedTokensModal.tsx index 0d791b4cb..fe0555419 100644 --- a/src/lib/components/modal/UnsupportedTokensModal.tsx +++ b/src/lib/components/modal/UnsupportedTokensModal.tsx @@ -172,6 +172,7 @@ export const UnsupportedTokensModal = ({ variant="ghost" color="text.dark" mb={1} + fontSize="12px" fontWeight={500} {...buttonProps} > diff --git a/src/lib/pages/account-details/components/asset/index.tsx b/src/lib/pages/account-details/components/asset/index.tsx index 8858b5afb..4c4ce3493 100644 --- a/src/lib/pages/account-details/components/asset/index.tsx +++ b/src/lib/pages/account-details/components/asset/index.tsx @@ -42,7 +42,7 @@ const AssetSectionContent = ({ {supportedAssets .slice(0, onViewMore ? MaxAssetsShow : undefined) .map((asset) => ( - + ))} ) : ( diff --git a/src/lib/pages/blocks/components/BlocksRow.tsx b/src/lib/pages/blocks/components/BlocksRow.tsx index 0e8133107..39a0ad498 100644 --- a/src/lib/pages/blocks/components/BlocksRow.tsx +++ b/src/lib/pages/blocks/components/BlocksRow.tsx @@ -28,7 +28,12 @@ export const BlocksRow = ({ templateColumns, blockData }: BlocksRowProps) => { - {blockData.txCount} + + {blockData.txCount} + From 17d21bd2195453ea96d2d67aa3234acb17bf6a46 Mon Sep 17 00:00:00 2001 From: bkioshn Date: Thu, 27 Apr 2023 09:49:27 +0700 Subject: [PATCH 2/2] chore: add changelog --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3462afe8c..f7f6bd22e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -82,6 +82,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Bug fixes +- [#302](https://github.com/alleslabs/celatone-frontend/pull/302) Fix token card width, text size for unsupported token button in account details page and tx count color when equal to zero - [#290](https://github.com/alleslabs/celatone-frontend/pull/290) Fix spacing and styling in account detail - [#280](https://github.com/alleslabs/celatone-frontend/pull/280) Fix begin unlocking optional coins field causing crash - [#269](https://github.com/alleslabs/celatone-frontend/pull/269) Fix array value json string format and receipt row text color