mirror of
https://github.com/bitwarden/browser
synced 2025-12-11 13:53:34 +00:00
[CL-175] remove position fixed from sidebar (#7760)
Removes fixed position from `bit-layout`'s sidebar. This prevents the sidebar from taking up too much space on smaller viewports.
This commit is contained in:
@@ -22,14 +22,14 @@
|
|||||||
'--color-background-alt4': 'var(--color-secondary-300)'
|
'--color-background-alt4': 'var(--color-secondary-300)'
|
||||||
}
|
}
|
||||||
"
|
"
|
||||||
class="tw-fixed tw-inset-y-0 tw-left-0 tw-h-screen tw-w-60 tw-overflow-auto tw-bg-background-alt3"
|
class="tw-inset-y-0 tw-left-0 tw-h-screen tw-w-60 tw-overflow-auto tw-bg-background-alt3"
|
||||||
>
|
>
|
||||||
<ng-content select="[slot=sidebar]"></ng-content>
|
<ng-content select="[slot=sidebar]"></ng-content>
|
||||||
</aside>
|
</aside>
|
||||||
<main
|
<main
|
||||||
[id]="mainContentId"
|
[id]="mainContentId"
|
||||||
tabindex="-1"
|
tabindex="-1"
|
||||||
class="tw-ml-60 tw-min-h-screen tw-min-w-0 tw-flex-1 tw-bg-background tw-p-6"
|
class="tw-min-h-screen tw-min-w-0 tw-flex-1 tw-bg-background tw-p-6"
|
||||||
>
|
>
|
||||||
<ng-content></ng-content>
|
<ng-content></ng-content>
|
||||||
</main>
|
</main>
|
||||||
|
|||||||
Reference in New Issue
Block a user