Skip to content

Commit 1e1b78e

Browse files
committed
Add Changelog Fragment
1 parent ca65a8a commit 1e1b78e

File tree

5 files changed

+5
-8
lines changed

5 files changed

+5
-8
lines changed

.changelog/2258.trivial.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Update Box element.

src/app/components/PageLayout/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ interface PageLayoutProps {
1414
}
1515

1616
export const PageLayout: FC<PropsWithChildren<PageLayoutProps>> = ({ children, mobileFooterAction }) => {
17-
const theme = useTheme()
1817
const { isMobile } = useScreenSize()
1918
const scope = useScopeParam()
2019
const isApiReachable = useIsApiReachable(scope?.network ?? 'mainnet').reachable
20+
const theme = useTheme()
2121

2222
return (
2323
<>

src/app/components/Tokens/TokenDetails.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ export const TokenDetails: FC<{
4242
address={token.eth_contract_addr ?? token.contract_addr}
4343
name={token.name}
4444
/>
45-
<div className="ml-3 font-bold text-muted-foreground whitespace-nowrap">
45+
<div className="ml-2 font-bold text-muted-foreground whitespace-nowrap">
4646
<HighlightedText text={token.symbol} />
4747
</div>
4848
</dd>

src/app/components/Tokens/TokenLinkWithIcon.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export const TokenLinkWithIcon: FC<{
1616
const { t } = useTranslation()
1717
const { metadata } = useAccountMetadata(scope, address)
1818
return (
19-
<div className="flex items-center gap-4">
19+
<div className="flex items-center gap-2">
2020
<Tooltip
2121
placement="top"
2222
arrow

src/app/components/Tooltip/MaybeWithTooltip.tsx

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,7 @@ export const MaybeWithTooltip: FC<MaybeWithTooltipProps> = ({ title, children, s
2727
return (
2828
<Tooltip
2929
placement="top"
30-
title={
31-
<div className="flex items-center gap-2 md:mx-0 -mx-3 min-w-0 [overflow-wrap:anywhere] rounded-lg">
32-
{title}
33-
</div>
34-
}
30+
title={<div className="flex items-center gap-2 md:mx-0 -mx-3 min-w-0 wrap-anywhere">{title}</div>}
3531
disableFocusListener={!title}
3632
disableHoverListener={!title}
3733
disableTouchListener={!title}

0 commit comments

Comments
 (0)