mirror of
https://git.rezel.net/LudoTech/traque.git
synced 2026-02-09 18:20:17 +01:00
improved style when overflow
This commit is contained in:
@@ -6,8 +6,8 @@ export default function AdminLayout({ children}) {
|
||||
return (
|
||||
<AdminConnexionProvider>
|
||||
<AdminProvider>
|
||||
<div className='h-full flex items-stretch flex-col'>
|
||||
<div className="h-20 bg-gray-800 text-white flex items-center justify-left">
|
||||
<div className='h-full flex flex-col'>
|
||||
<div className="text-lg max-h-10 p-5 bg-gray-800 text-white flex items-center justify-left">
|
||||
<div className="mx-5">Admin</div>
|
||||
<ul className='flex space-x-4'>
|
||||
<li><Link href="/admin">Home</Link></li>
|
||||
@@ -15,7 +15,7 @@ export default function AdminLayout({ children}) {
|
||||
<li><Link href="/admin/map">Map</Link></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div className="h-full block">
|
||||
<div className="h-full overflow-y-scroll">
|
||||
{children}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user