refactor(layout): improve layout consistency and styling across user and workspace settings

- Updated section classes in UserSettingsLayoutShell and WorkspaceSettingsLayoutShell for better alignment.
- Adjusted padding in LayoutDataProvider for improved spacing on team and automation pages.
- Enhanced AllChatsSidebar layout by removing unnecessary height constraints for a more flexible design.
This commit is contained in:
Anish Sarkar 2026-07-06 13:52:47 +05:30
parent 9f853b692c
commit a94a2976f6
4 changed files with 5 additions and 5 deletions

View file

@ -758,7 +758,7 @@ export function LayoutDataProvider({ searchSpaceId, children }: LayoutDataProvid
isTeamPage ||
isAutomationsPage ||
isAllChatsPage
? "items-start justify-center px-6 py-8 md:px-10 md:py-10"
? "items-start justify-center px-6 py-8 md:px-10 md:pb-10 md:pt-16"
: undefined
}
workspacePanelContentClassName={

View file

@ -234,7 +234,7 @@ function AllChatsContent({ searchSpaceId, className }: AllChatsContentProps) {
return (
<div className={cn("flex h-full min-h-0 w-full flex-1 flex-col", className)}>
<div className="shrink-0 space-y-4 px-3 pb-3 pt-3">
<div className="shrink-0 space-y-4 px-3 pb-3">
<div className="flex items-center justify-between gap-4 flex-wrap">
<div className="flex items-baseline gap-3">
<h1 className="text-xl md:text-2xl font-semibold text-foreground">
@ -550,7 +550,7 @@ function AllChatsContent({ searchSpaceId, className }: AllChatsContentProps) {
export function AllChatsWorkspaceContent({ searchSpaceId }: { searchSpaceId: string }) {
return (
<div className="flex h-[calc(100vh-8rem)] min-h-0 w-full overflow-hidden text-sidebar-foreground">
<div className="flex h-full min-h-0 w-full overflow-hidden text-sidebar-foreground">
<AllChatsContent searchSpaceId={searchSpaceId} />
</div>
);