[SM-365] make sidenav fixed (#4969)
This commit is contained in:
parent
9676387ab7
commit
213f5d721f
|
@ -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>
|
||||||
|
|
Loading…
Reference in New Issue