Skip to content

Commit

Permalink
fix: 锚点过长时小屏幕出现横向滚动条
Browse files Browse the repository at this point in the history
  • Loading branch information
Mereithhh committed Aug 30, 2022
1 parent edf50fb commit 9afb7ff
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/website/components/Reward/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,10 @@ export default function (props: {
});
}}
>
<span className="cursor-pointer border-b border-white hover:border-gray-500 dark:text-dark dark-border-hover dark:border-nav-dark">
<span
className="cursor-pointer border-b border-white hover:border-gray-500 dark:text-dark dark-border-hover dark:border-nav-dark"
style={{ wordBreak: "break-all" }}
>
{url}
</span>
</CopyToClipboard>
Expand Down

0 comments on commit 9afb7ff

Please sign in to comment.