

import { SidebarHamburgerToggle } from "@/components/core/sidebar/sidebar-menu-hamburger-toggle";
import { cn } from "@buzzwaretech/utils";

type Props = {
  children: React.ReactNode;
  className?: string;
};

export function ProfileSettingContentWrapper(props: Props) {
  const { children, className = "" } = props;
  return (
    <div className="flex h-full flex-col">
      <div className="block flex-shrink-0 border-b border-subtle p-4 md:hidden">
        <SidebarHamburgerToggle />
      </div>

      <div
        className={cn(
          "vertical-scrollbar mx-auto flex scrollbar-md h-full w-full flex-col px-8 py-10 md:px-20 md:py-16 lg:px-36 xl:px-56",
          className,
        )}
      >
        {children}
      </div>
    </div>
  );
}
