diff --git a/src/components/@shared/AssetTeaser/AssetTeaser.tsx b/src/components/@shared/AssetTeaser/AssetTeaser.tsx index c62ba43c1..d6b2eb054 100644 --- a/src/components/@shared/AssetTeaser/AssetTeaser.tsx +++ b/src/components/@shared/AssetTeaser/AssetTeaser.tsx @@ -25,7 +25,6 @@ export default function AssetTeaser({ const accessType = isCompute ? 'compute' : 'access' const { owner } = asset.nft const { orders } = asset.stats - return (
@@ -33,7 +32,7 @@ export default function AssetTeaser({
{datatokens[0]?.symbol}
- {name} + {name.slice(0, 200)} {!noPublisher && ( diff --git a/src/components/@shared/Page/PageHeader.module.css b/src/components/@shared/Page/PageHeader.module.css index 54fdb1e53..89962be9b 100644 --- a/src/components/@shared/Page/PageHeader.module.css +++ b/src/components/@shared/Page/PageHeader.module.css @@ -8,6 +8,11 @@ margin-top: 0; margin-bottom: 0; display: inline-flex; + + overflow-wrap: break-word; + word-wrap: break-word; + word-break: break-word; + hyphens: auto; } @media (min-width: 40rem) { diff --git a/src/components/@shared/Page/index.tsx b/src/components/@shared/Page/index.tsx index 097894cc6..b21d0e85a 100644 --- a/src/components/@shared/Page/index.tsx +++ b/src/components/@shared/Page/index.tsx @@ -26,7 +26,7 @@ export default function Page({ {title && !noPageHeader && ( {title}} + title={<>{title.slice(0, 400)}} description={description} center={headerCenter} />