fix overflow

This commit is contained in:
Igor Hrenowitsch Propisnov 2024-09-10 20:17:35 +02:00
parent 3a45fa1de6
commit 28a7006d0d
1 changed files with 2 additions and 10 deletions

View File

@ -114,7 +114,7 @@
? 'compact'
: 'closed'
"
class="h-full transition-transform duration-300 ease-in-out bg-primary text-primary-content flex flex-col lg:translate-x-0"
class="h-full overflow-hidden transition-transform duration-300 ease-in-out bg-primary text-primary-content flex flex-col lg:translate-x-0"
[ngClass]="{
'w-16': isCompact && !isDrawerOpen,
'w-64': isDrawerOpen,
@ -383,15 +383,7 @@
(keydown.space)="toggleDrawer()"></div>
<!-- Hauptinhalt -->
<div
[@mainContentAnimation]="
isCompact && !isDrawerOpen ? 'shifted' : 'normal'
"
class="flex-1 overflow-y-auto p-4 bg-base-100"
[ngClass]="{
'lg:ml-16': isCompact && !isDrawerOpen,
'ml-0': !isDrawerOpen || isCompact
}">
<div class="flex-1 overflow-y-auto bg-base-100">
<main [ngStyle]="mainContent" class="flex-1 w-full h-full">
<div class="w-full h-full flex items-center justify-center">
<div class="w-full max-w-5xl">