reponsived the website and login fix done
This commit is contained in:
@@ -67,6 +67,11 @@ export default function Sidebar({
|
||||
key={item.id}
|
||||
to={`/admin/${item.id}`}
|
||||
title={item.label}
|
||||
onClick={() => {
|
||||
if (window.innerWidth < 768) {
|
||||
onClose();
|
||||
}
|
||||
}}
|
||||
className={({ isActive }) => `w-full flex items-center py-3 rounded-lg text-left transition-all duration-200 cursor-pointer ${
|
||||
isOpen ? 'gap-md px-md border-l-4' : 'justify-center px-0'
|
||||
} ${
|
||||
|
||||
Reference in New Issue
Block a user