chore: minor ui changes

This commit is contained in:
Aman Harwara
2023-05-19 19:02:32 +05:30
parent c893f3a067
commit a2a6b5295c
2 changed files with 1 additions and 6 deletions

View File

@@ -52,7 +52,7 @@ const ListItemFlagIcons: FunctionComponent<Props> = ({
<Icon ariaLabel="Files" type="attachment-file" className="text-info" size="medium" />
</span>
)}
{hideIcon && item.starred && (
{item.starred && (
<span className="ml-1.5 flex items-center" title="Starred">
<Icon ariaLabel="Starred" type="star-filled" className="text-warning" size="medium" />
</span>

View File

@@ -89,11 +89,6 @@ const NoteListItem: FunctionComponent<DisplayableListItemProps<SNNote>> = ({
<Icon type="pin-filled" size="custom" className="h-3 w-3" />
</div>
)}
{item.starred && (
<div className="rounded-full bg-warning p-1 text-info-contrast">
<Icon type="star-filled" size="custom" className="h-3 w-3" />
</div>
)}
<Icon type={icon} className={`text-accessory-tint-${tint}`} />
</div>
) : (