Skip to content

Commit

Permalink
fix(style): always show action on mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
zcf0508 committed Jun 23, 2024
1 parent 9ab200c commit 9d8b706
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 9d8b706

Please sign in to comment.