mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-20 23:11:43 +01:00
fix(Avatar): truncate placeholder if too long (#61)
This commit is contained in:
committed by
GitHub
parent
b05aa48caa
commit
6585bfc24a
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user