diff --git a/src/components/buttons/BackToListButton.tsx b/src/components/buttons/BackToListButton.tsx index 71aaa8da..503c2a3a 100644 --- a/src/components/buttons/BackToListButton.tsx +++ b/src/components/buttons/BackToListButton.tsx @@ -22,7 +22,7 @@ export const BackToListButton = ({ mode }: Props) => { const chainId = useChainId(); const href = appendChainIdToLink(`/${mode}`, chainId); return ( - +
diff --git a/src/components/icons/IndicatorIcon.tsx b/src/components/icons/IndicatorIcon.tsx index ec362ccf..520f9aa1 100644 --- a/src/components/icons/IndicatorIcon.tsx +++ b/src/components/icons/IndicatorIcon.tsx @@ -6,6 +6,15 @@ interface IndicatorIconProps { } export const IndicatorIcon = ({ classes }: IndicatorIconProps) => ( - Connection indicator + Connection indicator ); diff --git a/src/components/icons/ThemedIcon.tsx b/src/components/icons/ThemedIcon.tsx index bc8be9da..ce32a2c9 100644 --- a/src/components/icons/ThemedIcon.tsx +++ b/src/components/icons/ThemedIcon.tsx @@ -114,7 +114,10 @@ export const ThemedIcon = ({ width={width} height={height} onClick={onClick} - layout={fill ? 'fill' : 'intrinsic'} + style={{ + maxWidth: '100%', + height: 'auto', + }} /> diff --git a/src/components/icons/TokenIcon.tsx b/src/components/icons/TokenIcon.tsx index 983055d7..de61d053 100644 --- a/src/components/icons/TokenIcon.tsx +++ b/src/components/icons/TokenIcon.tsx @@ -1,4 +1,4 @@ -import Image from 'next/image'; +import Image from "next/image"; import { OpacityTransition } from 'src/components/transitions/OpacityTransition'; import CeloIcon from 'src/images/icons/token-celo.svg'; import stCeloIcon from 'src/images/icons/token-stcelo.svg'; @@ -25,7 +25,10 @@ export const TokenIcon = ({ token, quality = 100, width = 32, height = 32 }: Tok quality={quality} width={width} height={height} - /> + style={{ + maxWidth: "100%", + height: "auto" + }} /> ); diff --git a/src/components/list/row.tsx b/src/components/list/row.tsx index cf0574fb..939bf687 100644 --- a/src/components/list/row.tsx +++ b/src/components/list/row.tsx @@ -31,7 +31,7 @@ export const Row = (props: PropsWithChildren) => { href={props.href} target={props.href?.startsWith('http') ? '_blank' : '_self'} rel="noreferrer" - > + legacyBehavior> diff --git a/src/features/swap/utils/toast.tsx b/src/features/swap/utils/toast.tsx index ff5e7a69..b185057b 100644 --- a/src/features/swap/utils/toast.tsx +++ b/src/features/swap/utils/toast.tsx @@ -1,4 +1,4 @@ -import Image from 'next/image'; +import Image from "next/image"; import { PropsWithChildren } from 'react'; import { ThemedIcon } from 'src/components/icons/ThemedIcon'; import { TokenIcon } from 'src/components/icons/TokenIcon'; @@ -21,7 +21,16 @@ export const showStakingToast = (amount: StCelo) => export const showUnstakingToast = () => showToast( - Clock, + Clock, You started unstaking, funds available in 3 days. ); diff --git a/src/layout/AppLayout/Header.tsx b/src/layout/AppLayout/Header.tsx index 124d1e8d..b6639682 100644 --- a/src/layout/AppLayout/Header.tsx +++ b/src/layout/AppLayout/Header.tsx @@ -44,10 +44,12 @@ export const Header = ({ isConnectPage = true }: HeaderProps) => { return (
- - - - + + + + {isConnected && }