mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-05-14 07:26:52 +00:00
fix next主题二级菜单图标间隙
This commit is contained in:
@@ -8,7 +8,7 @@ export const MenuItemDrop = ({ link }) => {
|
||||
return (
|
||||
<li
|
||||
onMouseOver={() => changeShow(true)}
|
||||
onMouseOut={() => changeShow(false)}
|
||||
// onMouseOut={() => changeShow(false)}
|
||||
className='relative py-1.5 px-5 duration-300 text-base justify-between hover:bg-gray-700 hover:text-white hover:shadow-lg cursor-pointer font-light flex flex-nowrap items-center '>
|
||||
{!hasSubMenu && (
|
||||
<Link
|
||||
@@ -51,7 +51,7 @@ export const MenuItemDrop = ({ link }) => {
|
||||
target={link?.target}
|
||||
className='my-auto h-9 pl-4 items-center justify-start flex not:last-child:border-b-0 border-b text-gray-700 dark:text-gray-200 hover:bg-gray-50 dark:hover:bg-gray-900 tracking-widest transition-all duration-200 dark:border-gray-800 '>
|
||||
{sLink.icon && (
|
||||
<i className={`${sLink.icon} w-4 text-center`} />
|
||||
<i className={`${sLink.icon} w-4 mr-2 text-center`} />
|
||||
)}
|
||||
{sLink.name}
|
||||
{sLink.slot}
|
||||
|
||||
Reference in New Issue
Block a user