gitbook-fix

This commit is contained in:
tangly1024.com
2023-07-18 14:50:16 +08:00
parent 4359adcb73
commit e2235aa723
3 changed files with 8 additions and 3 deletions

View File

@@ -21,7 +21,7 @@ const NavPostItem = (props) => {
return <>
<div
onClick={toggleOpenSubMenu}
className='flex justify-between text-sm font-sans cursor-pointer p-2 hover:bg-gray-50 rounded-md dark:hover:bg-gray-600' key={group?.category}>
className='select-none flex justify-between text-sm font-sans cursor-pointer p-2 hover:bg-gray-50 rounded-md dark:hover:bg-gray-600' key={group?.category}>
<span>{group?.category}</span>
<div className='inline-flex items-center select-none pointer-events-none '><i className={`px-2 fas fa-chevron-left transition-all duration-200 ${isOpen ? '-rotate-90' : ''}`}></i></div>
</div>