mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-03-18 02:21:47 -05:00
Updated border classes to allow for hover effect
This commit is contained in:
parent
08019b89f5
commit
e525c8625e
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ const ListItem: React.FC<ListItemProps> = ({
|
|||
const listItemClasses = clsx(
|
||||
'group/list-item relative flex items-center justify-between',
|
||||
bgOnHover && 'hover:bg-grey-50 dark:hover:bg-grey-950',
|
||||
separator ? 'border-b border-grey-100 last-of-type:border-b-transparent hover:border-grey-200 dark:border-grey-900 dark:hover:border-grey-800' : 'border-y border-transparent hover:border-grey-200 first-of-type:hover:border-t-transparent dark:hover:border-grey-800',
|
||||
separator ? 'border-b border-grey-100 last-of-type:border-b-transparent hover:border-b-transparent dark:border-grey-900' : 'border-y border-transparent',
|
||||
className
|
||||
);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue