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:
2026-11-08 20:55:17 +01:00
co-authored by Claude Sonnet 5.5
parent bd9790819d
commit f242da8429
3 changed files with 41 additions and 5 deletions
+1 -1
View File
@@ -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));