Skip to content

Commit

Permalink
fix(Avatar): truncate placeholder if too long (#61)
Browse files Browse the repository at this point in the history
  • Loading branch information
smarroufin committed Jun 7, 2022
1 parent b05aa48 commit 6585bfc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/runtime/presets/default.ts
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ const pills = {
const avatar = {
wrapper: 'relative inline-flex items-center justify-center',
background: 'u-bg-gray-100',
placeholder: 'text-xs font-medium leading-none u-text-black',
placeholder: 'text-xs font-medium leading-none u-text-black truncate',
size: {
xxxs: 'h-4 w-4 text-xs',
xxs: 'h-5 w-5 text-xs',
Expand Down

0 comments on commit 6585bfc

Please sign in to comment.