fix: resize logo in sidebar
This commit is contained in:
@@ -148,16 +148,16 @@ const Sidebar = ({ open, setClosed }: SidebarProps) => {
|
||||
</div>
|
||||
<div
|
||||
ref={navRef}
|
||||
className="flex flex-1 flex-col overflow-y-auto pb-8 sm:pb-4"
|
||||
className="flex flex-1 flex-col overflow-y-auto pt-4 pb-8 sm:pb-4"
|
||||
>
|
||||
<div className="flex flex-shrink-0 items-center px-2">
|
||||
<span className="w-full px-2 text-xl text-gray-50">
|
||||
<Link href="/" className="relative block h-24">
|
||||
<span className="w-full px-4 text-xl text-gray-50">
|
||||
<Link href="/" className="relative block h-24 w-64">
|
||||
<Image src="/logo_full.svg" alt="Logo" fill />
|
||||
</Link>
|
||||
</span>
|
||||
</div>
|
||||
<nav className="mt-4 flex-1 space-y-4 px-4">
|
||||
<nav className="mt-10 flex-1 space-y-4 px-4">
|
||||
{SidebarLinks.filter((link) =>
|
||||
link.requiredPermission
|
||||
? hasPermission(link.requiredPermission, {
|
||||
@@ -220,7 +220,7 @@ const Sidebar = ({ open, setClosed }: SidebarProps) => {
|
||||
<div className="flex h-0 flex-1 flex-col">
|
||||
<div className="flex flex-1 flex-col overflow-y-auto pb-4">
|
||||
<div className="flex flex-shrink-0 items-center">
|
||||
<span className="w-full px-4 text-2xl text-gray-50">
|
||||
<span className="w-full px-4 py-2 text-2xl text-gray-50">
|
||||
<Link href="/" className="relative block h-24">
|
||||
<Image src="/logo_full.svg" alt="Logo" fill />
|
||||
</Link>
|
||||
|
||||
Reference in New Issue
Block a user