Skip to content

Commit

Permalink
chore: long usernames in auth page
Browse files Browse the repository at this point in the history
While testing #5670 I noticed that the auth page has an identical
issue with long usernames. This just uses a flex row and the same
'text-ellipsis overflow-hidden max-w-64' to ensure long usernames
don't cause UI issues.

Signed-off-by: Tim deBoer <git@tdeboer.ca>
  • Loading branch information
deboer-tim committed Jan 29, 2024
1 parent fd33d44 commit 8135532
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@ import Tooltip from '/@/lib/ui/Tooltip.svelte';
{#each provider.accounts as account}
<div class="flex flex-row">
<div class="flex items-center w-full">
<div class="text-xs bg-charcoal-800 p-2 rounded-lg mt-1">
<span class="my-auto font-bold col-span-1 text-right">
<div class="flex flex-row text-xs bg-charcoal-800 p-2 rounded-lg mt-1">
<span class="my-auto font-bold col-span-1 text-ellipsis overflow-hidden max-w-64">
{account.label}
</span>
<Tooltip tip="Sign out of {account.label}" left>
Expand Down

0 comments on commit 8135532

Please sign in to comment.