Skip to content

Commit

Permalink
💄 style: always show action on mobile (lobehub#1863)
Browse files Browse the repository at this point in the history
  • Loading branch information
zcf0508 authored and Mingholy committed Jul 1, 2024
1 parent d5fbafa commit 57dc0ea
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ const ListItem = memo<ListItemProps & { avatar: string; avatarBackground?: strin
avatar={avatarRender}
className={cx(styles.container, mobile && styles.mobile)}
ref={ref}
showAction={actions && (isHovering || showAction)}
showAction={actions && (isHovering || showAction || mobile)}
title={<span className={styles.title}>{title}</span>}
{...(props as any)}
/>
Expand Down

0 comments on commit 57dc0ea

Please sign in to comment.