Skip to content

Commit

Permalink
fix: show overflow and break the word if long (#707)
Browse files Browse the repository at this point in the history
  • Loading branch information
antomor authored Feb 19, 2025
1 parent 9f083b5 commit 3d15435
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ export const BuildersLeaderBoardTable: FC = () => {

return (
<div className="flex flex-col gap-5 w-full">
<TableCore className="table-fixed">
<TableCore className="table-fixed overflow-visible">
<TableHead>
<TableRow className="normal-case">
{tableHeaders.map(header => (
Expand Down
2 changes: 1 addition & 1 deletion src/components/Address/AddressOrAlias.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export const AddressOrAlias: React.FC<AddressProps> = ({ addressOrAlias, classNa
const key = isAddress(addressOrAlias) ? 'address' : 'alias'

const addressClass = 'font-normal text-base leading-none text-text-primary'
const aliasClass = 'text-sm line-clamp-1'
const aliasClass = 'text-sm line-clamp-1 break-all'

const renderedComponent = {
alias: <Span className={cn(aliasClass, className)}>{addressOrAlias}</Span>,
Expand Down

0 comments on commit 3d15435

Please sign in to comment.