Skip to content

Commit

Permalink
[front/components/sparkle] - fix: adjust content alignment based on l…
Browse files Browse the repository at this point in the history
…ayout mode

- Add center alignment for content in wide mode, ensuring it remains visually balanced on the page

[front/pages/w] - refactor: remove overflow-y-clip for better content flow

- Remove unnecessary overflow clip for workspace assistants, allowing for a smoother content expansion
  • Loading branch information
Jules authored and Jules committed Jul 30, 2024
1 parent dfbc414 commit ecf5faa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion front/components/sparkle/AppLayout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ export default function AppLayout({
<div
className={classNames(
"flex w-full flex-col",
isWideMode ? "" : "max-w-4xl pt-8"
isWideMode ? "items-center" : "max-w-4xl px-6 pt-8"
)}
>
{loaded && children}
Expand Down
2 changes: 1 addition & 1 deletion front/pages/w/[wId]/builder/assistants/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ export default function WorkspaceAssistants({
</Link>
</Button.List>
</div>
<div className="flex flex-col gap-4 overflow-y-clip pt-3">
<div className="flex flex-col gap-4 pt-3">
<div className="flex flex-row gap-2">
<Tab
tabs={tabs}
Expand Down

0 comments on commit ecf5faa

Please sign in to comment.