Skip to content

Commit

Permalink
style: Update layout and alignment styles
Browse files Browse the repository at this point in the history
  • Loading branch information
fedosov committed Jan 7, 2025
1 parent 1a57961 commit e36c76b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion app/components/common/Container.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ interface ContainerProps {
}

export function Container({ children, className = "" }: ContainerProps) {
return <div className={`max-w-4xl mx-auto ${className}`}>{children}</div>;
return <div className={`w-full max-w-4xl mx-auto ${className}`}>{children}</div>;
}
6 changes: 3 additions & 3 deletions app/root.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ export default function App() {
{() => (
<ApiCtxRoot apiUrl={apiUrl}>
<ApolloProvider client={client}>
<div className="container mx-auto px-4">
<div className="container mx-auto px-4 flex flex-col min-h-screen">
<Navbar className="flex justify-between overflow-x-auto overflow-y-hidden mb-4 mt-2">
<NavbarGroup align={Alignment.LEFT}>
<NavbarHeading className="whitespace-nowrap flex">
Expand Down Expand Up @@ -147,8 +147,8 @@ export default function App() {
</NavbarGroup>
</Navbar>
<Outlet />
<footer className="p-4 py-8">
<div className="flex items-center gap-6 justify-end">
<footer className="p-4 py-8 mt-auto">
<div className="flex items-center gap-6 justify-center">
<a href="https://swap.3dpscan.io/swap" target="_blank" rel="noopener noreferrer">
DEX/Swap
</a>
Expand Down

0 comments on commit e36c76b

Please sign in to comment.