mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-03-18 02:21:47 -05:00
Added padding and margin for hover state
This commit is contained in:
parent
6701c5ec95
commit
5a5c978ba7
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ const ListItem: React.FC<ListItemProps> = ({
|
|||
|
||||
const listItemClasses = clsx(
|
||||
'group/list-item flex items-center justify-between',
|
||||
bgOnHover && 'hover:bg-grey-50 dark:hover:bg-grey-950',
|
||||
bgOnHover && '-mx-6 rounded-lg px-6 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',
|
||||
className
|
||||
);
|
||||
|
|
Loading…
Add table
Reference in a new issue