Skip to content

Commit

Permalink
fix: trim long strings on extension list items (#1102)
Browse files Browse the repository at this point in the history
  • Loading branch information
euharrison authored Sep 13, 2024
1 parent 9c22c2d commit 2c0bc92
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion apps/extension/src/App/Settings/ConnectedSites.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,9 @@ export const ConnectedSites: React.FC = ({}) => {
"items-center text-base py-4 px-6"
)}
>
<span>{site}</span>
<span className="text-ellipsis overflow-hidden" title={site}>
{site}
</span>
<span
className="p-2 cursor-pointer hover:text-yellow -mr-2"
onClick={() => handleRevokeConnection(site)}
Expand Down
4 changes: 3 additions & 1 deletion packages/components/src/KeyListItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,9 @@ export const KeyListItem = ({
checked={isMainKey}
/>
</div>
<label>{alias}</label>
<label className="text-ellipsis overflow-hidden" title={alias}>
{alias}
</label>
<DropdownMenu
id={alias}
align="right"
Expand Down

1 comment on commit 2c0bc92

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.