From a236514e8a49faae15656bde474bddeab9d28a3a Mon Sep 17 00:00:00 2001 From: "huy.doan" Date: Wed, 5 Jun 2024 11:25:02 +0700 Subject: [PATCH] fix: MET-2023 Identify new SC --- src/components/Contracts/Proposingviews/index.tsx | 2 +- src/components/Contracts/Votingviews/index.tsx | 2 +- src/components/Contracts/common/styles.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/Contracts/Proposingviews/index.tsx b/src/components/Contracts/Proposingviews/index.tsx index 013d6e3b29..6fb4188feb 100644 --- a/src/components/Contracts/Proposingviews/index.tsx +++ b/src/components/Contracts/Proposingviews/index.tsx @@ -130,7 +130,7 @@ const Proposingviews: React.FC = ({ data, isMobile }) => { {`${t("contract.governance")}:`} - {t("contract.treasury")} + {t("contract.treasury")} setOpenRedeemer(!openRedeemer)}> {t("contract.redeemer")} diff --git a/src/components/Contracts/Votingviews/index.tsx b/src/components/Contracts/Votingviews/index.tsx index f5846549f5..e2fbcfb25b 100644 --- a/src/components/Contracts/Votingviews/index.tsx +++ b/src/components/Contracts/Votingviews/index.tsx @@ -123,7 +123,7 @@ const Votingviews: React.FC = ({ data, isMobile }) => { {`${t("contract.governance")}:`} - {t("contract.treasury")} + {t("contract.treasury")} setOpenRedeemer(!openRedeemer)}> {t("contract.redeemer")} diff --git a/src/components/Contracts/common/styles.ts b/src/components/Contracts/common/styles.ts index db9ee7c82e..a6c027a73b 100644 --- a/src/components/Contracts/common/styles.ts +++ b/src/components/Contracts/common/styles.ts @@ -45,7 +45,7 @@ export const DataValue = styled(Typography)` color: ${({ theme }) => (theme.isDark ? theme.palette.secondary.main : theme.palette.secondary.light)}; font-feature-settings: "clig" off, "liga" off; line-height: normal; - line-break: anywhere; + line-break: auto; max-height: 40vh; overflow: auto; padding-right: 10px;