chore: change vault name badge style

This commit is contained in:
Aman Harwara
2023-09-12 16:38:35 +05:30
parent 2ed68ada6b
commit 6f6600ebd6

View File

@@ -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>
) )