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