fix: workspace dropdown overlapping fix

This commit is contained in:
Anmol Singh Bhatia 2024-02-23 14:29:51 +05:30
parent 03f8bfae10
commit c88cae8dfc

View File

@ -157,7 +157,7 @@ export const WorkspaceSidebarDropdown = observer(() => {
<Menu.Items as={Fragment}>
<div className="fixed left-4 z-20 mt-1 flex w-full max-w-[19rem] origin-top-left flex-col rounded-md border-[0.5px] border-custom-sidebar-border-300 bg-custom-sidebar-background-100 shadow-custom-shadow-rg divide-y divide-custom-border-100 outline-none">
<div className="flex max-h-96 flex-col items-start justify-start gap-2 overflow-y-scroll mb-2 px-4 vertical-scrollbar scrollbar-sm">
<h6 className="sticky top-0 z-10 h-full w-full pt-3 text-sm font-medium text-custom-sidebar-text-400">
<h6 className="sticky top-0 z-10 h-full w-full pt-3 pb-1 text-sm font-medium text-custom-sidebar-text-400 bg-custom-background-100">
{currentUser?.email}
</h6>
{workspacesList ? (