chore: change vault name badge style
This commit is contained in:
@@ -8,17 +8,8 @@ type Props = {
|
||||
|
||||
const VaultNameBadge: FunctionComponent<Props> = ({ vault }) => {
|
||||
return (
|
||||
<div
|
||||
title="Vault name"
|
||||
className="flex select-none items-center rounded bg-success px-1.5 py-1 text-success-contrast"
|
||||
>
|
||||
<Icon
|
||||
ariaLabel="Shared in vault"
|
||||
type={vault.iconString}
|
||||
className="mr-1 text-info-contrast"
|
||||
size="medium"
|
||||
emojiSize="small"
|
||||
/>
|
||||
<div title="Vault name" className="flex select-none items-center rounded border border-passive-2 px-1.5 py-1">
|
||||
<Icon ariaLabel="Shared in vault" type={vault.iconString} className="mr-1" size="medium" emojiSize="small" />
|
||||
<span className="mr-auto overflow-hidden text-ellipsis text-sm font-semibold lg:text-xs">{vault.name}</span>
|
||||
</div>
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user