parent
1929d5c7d4
commit
212f7a374f
|
@ -336,11 +336,10 @@ function UserDropdown({ small }: UserDropdownProps) {
|
|||
}
|
||||
return (
|
||||
<Dropdown open={menuOpen}>
|
||||
<div className="ltr:md:-ml-5 rtl:md:-mr-5">
|
||||
<DropdownMenuTrigger asChild onClick={() => setMenuOpen((menuOpen) => !menuOpen)}>
|
||||
<button
|
||||
className={classNames(
|
||||
"hover:bg-emphasis group mx-0 ml-0.5 flex cursor-pointer appearance-none items-center rounded-full text-left outline-none focus:outline-none focus:ring-0 md:rounded-none lg:rounded",
|
||||
"hover:bg-emphasis group mx-0 flex cursor-pointer appearance-none items-center rounded-full text-left outline-none focus:outline-none focus:ring-0 md:rounded-none lg:rounded",
|
||||
small ? "p-2" : "px-2 py-1"
|
||||
)}>
|
||||
<span
|
||||
|
@ -375,7 +374,6 @@ function UserDropdown({ small }: UserDropdownProps) {
|
|||
)}
|
||||
</button>
|
||||
</DropdownMenuTrigger>
|
||||
</div>
|
||||
|
||||
<DropdownMenuPortal>
|
||||
<FreshChatProvider>
|
||||
|
@ -1030,7 +1028,7 @@ function MainContainer({
|
|||
<main className="bg-default relative z-0 flex-1 focus:outline-none">
|
||||
{/* show top navigation for md and smaller (tablet and phones) */}
|
||||
{TopNavContainerProp}
|
||||
<div className="max-w-full py-4 px-4 md:py-8 lg:px-12">
|
||||
<div className="max-w-full px-4 py-4 md:py-8 lg:px-12">
|
||||
<ErrorBoundary>
|
||||
{!props.withoutMain ? <ShellMain {...props}>{props.children}</ShellMain> : props.children}
|
||||
</ErrorBoundary>
|
||||
|
|
Loading…
Reference in New Issue