Fix jwt-token
This commit is contained in:
@@ -31,7 +31,7 @@ const Layout = () => {
|
||||
const location = useLocation();
|
||||
|
||||
return (
|
||||
<div className="h-screen flex overflow-hidden bg-gray-100">
|
||||
<div className="min-h-screen flex bg-gray-100">
|
||||
{/* Mobile sidebar */}
|
||||
<div className={classNames(
|
||||
'fixed inset-0 flex z-40 md:hidden',
|
||||
@@ -62,7 +62,7 @@ const Layout = () => {
|
||||
</div>
|
||||
|
||||
{/* Main content */}
|
||||
<div className="flex-1 overflow-hidden">
|
||||
<div className="flex-1 flex flex-col min-h-screen">
|
||||
<div className="relative z-10 flex-shrink-0 flex h-16 bg-white border-b border-gray-200">
|
||||
<button
|
||||
type="button"
|
||||
@@ -126,7 +126,7 @@ const Layout = () => {
|
||||
</div>
|
||||
|
||||
{/* Page content */}
|
||||
<main className="flex-1 relative overflow-y-auto focus:outline-none">
|
||||
<main className="flex-1">
|
||||
<div className="py-6">
|
||||
<div className="max-w-7xl mx-auto px-4 sm:px-6 md:px-8">
|
||||
<Outlet />
|
||||
|
||||
Reference in New Issue
Block a user