chore: minor ui changes
This commit is contained in:
@@ -52,7 +52,7 @@ const ListItemFlagIcons: FunctionComponent<Props> = ({
|
|||||||
<Icon ariaLabel="Files" type="attachment-file" className="text-info" size="medium" />
|
<Icon ariaLabel="Files" type="attachment-file" className="text-info" size="medium" />
|
||||||
</span>
|
</span>
|
||||||
)}
|
)}
|
||||||
{hideIcon && item.starred && (
|
{item.starred && (
|
||||||
<span className="ml-1.5 flex items-center" title="Starred">
|
<span className="ml-1.5 flex items-center" title="Starred">
|
||||||
<Icon ariaLabel="Starred" type="star-filled" className="text-warning" size="medium" />
|
<Icon ariaLabel="Starred" type="star-filled" className="text-warning" size="medium" />
|
||||||
</span>
|
</span>
|
||||||
|
|||||||
@@ -89,11 +89,6 @@ const NoteListItem: FunctionComponent<DisplayableListItemProps<SNNote>> = ({
|
|||||||
<Icon type="pin-filled" size="custom" className="h-3 w-3" />
|
<Icon type="pin-filled" size="custom" className="h-3 w-3" />
|
||||||
</div>
|
</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}`} />
|
<Icon type={icon} className={`text-accessory-tint-${tint}`} />
|
||||||
</div>
|
</div>
|
||||||
) : (
|
) : (
|
||||||
|
|||||||
Reference in New Issue
Block a user