[SM-365] make sidenav fixed (#4969)

This commit is contained in:
Will Martin 2023-03-09 11:24:52 -05:00 committed by GitHub
parent 9676387ab7
commit 213f5d721f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 2 deletions

View File

@ -1,8 +1,10 @@
<div class="tw-flex tw-w-full"> <div class="tw-flex tw-w-full">
<nav class="tw-min-h-screen tw-w-60 tw-bg-background-alt3"> <nav
class="tw-fixed tw-max-h-screen tw-min-h-screen tw-w-60 tw-overflow-auto tw-bg-background-alt3"
>
<router-outlet name="sidebar"></router-outlet> <router-outlet name="sidebar"></router-outlet>
</nav> </nav>
<main class="tw-min-h-screen tw-min-w-0 tw-flex-1 tw-p-6"> <main class="tw-ml-60 tw-min-h-screen tw-min-w-0 tw-flex-1 tw-p-6">
<router-outlet></router-outlet> <router-outlet></router-outlet>
</main> </main>
</div> </div>