fix bookmark abbr + icon

This commit is contained in:
Michael Shamoon 2022-11-04 14:58:52 -07:00
parent b438cc2419
commit 5fd5762c0c

View File

@ -22,7 +22,7 @@ export default function Item({ bookmark }) {
<ResolvedIcon icon={bookmark.icon} /> <ResolvedIcon icon={bookmark.icon} />
</div> </div>
} }
{bookmark.abbr} {!bookmark.icon && bookmark.abbr}
</div> </div>
<div className="flex-1 flex items-center justify-between rounded-r-md "> <div className="flex-1 flex items-center justify-between rounded-r-md ">
<div className="flex-1 grow pl-3 py-2 text-xs">{bookmark.name}</div> <div className="flex-1 grow pl-3 py-2 text-xs">{bookmark.name}</div>