# fix\(web\): actually truncate long names in the default-profile picker · pingdotgg/t3code

[View on GitCafe](https://git.cafe/pingdotgg/t3code/commit/32e789ff3a3597e8d4955a53af057c3aad552b8e)

Repository: [pingdotgg/t3code](https://git.cafe/pingdotgg/t3code)

Visibility: public

Requested revision: 32e789ff3a3597e8d4955a53af057c3aad552b8e

Requested commit: 32e789ff3a3597e8d4955a53af057c3aad552b8e

Commit: 32e789ff3a3597e8d4955a53af057c3aad552b8e

Tree: c330b19f878b1a5a33296f4b01bd718711bb9383

Author: Julius Marminge

Committer: Julius Marminge

## Message

```
fix(web): actually truncate long names in the default-profile picker

The earlier cap missed on two counts: `truncate` sat on an inline span
inside `ItemText`'s block, where overflow rules never apply, so long names
scrolled instead of ellipsizing; and `max-w-64` styled the list rather than
the glass shell, which still matched the trigger width and left empty chrome
beside the list when the trigger was full-width. The label is now a block,
the cap applies to the shell as well, and the trigger width is not matched —
the same shape as the keybinding pickers.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

```

## Parents

- [81742f8633bcbfeb9055a98fafba8682830541a7](https://git.cafe/pingdotgg/t3code/commit/81742f8633bcbfeb9055a98fafba8682830541a7?format=markdown)

[Source at this commit](https://git.cafe/pingdotgg/t3code/tree/32e789ff3a3597e8d4955a53af057c3aad552b8e?format=markdown)
