Admin-layout: alleen de inhoud scrolt, de zijbalk blijft staan
De schil was min-h-svh, dus zodra de inhoud iets hoger was dan het scherm scrolde het hele document en de zijbalk mee. Nu is de schil precies een scherm hoog zonder eigen scroll en scrolt alleen het inhoudsgebied; het menu in de zijbalk scrolt zelf op een heel laag scherm. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -81,7 +81,7 @@ export function Sidebar({ onClose }: SidebarProps = {}) {
|
||||
)}
|
||||
</div>
|
||||
|
||||
<nav className="flex-1 space-y-1 p-3">
|
||||
<nav className="flex-1 space-y-1 overflow-y-auto p-3">
|
||||
{visibleItems.map((item) => {
|
||||
const Icon = item.icon;
|
||||
const blocked = systemUnavailable && !ALLOWED_WHEN_UNAVAILABLE.some(p => item.to.startsWith(p));
|
||||
|
||||
Reference in New Issue
Block a user