Skip to content

Commit

Permalink
Fix footer on CreateController page (#1281)
Browse files Browse the repository at this point in the history
  • Loading branch information
tarrencev authored Jan 17, 2025
1 parent a1fa985 commit e4d03c7
Show file tree
Hide file tree
Showing 8 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion examples/next/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"private": true,
"version": "0.5.9",
"scripts": {
"dev": "next dev -p 3002 --experimental-https",
"dev": "next dev -p 3002",
"build": "next build",
"e2e": "playwright test",
"e2e:ui": "playwright test --ui",
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export function CreateControllerView({
hideNetwork
>
<form
style={{ width: "100%" }}
className="flex flex-col flex-1"
onKeyDown={(e) => {
if (e.key === "Enter") e.preventDefault();
}}
Expand Down
5 changes: 4 additions & 1 deletion packages/keychain/src/components/layout/container/index.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { PropsWithChildren } from "react";
import { Header, HeaderProps } from "./header";

export function Container({
children,
onBack,
Expand All @@ -26,7 +27,9 @@ export function Container({
description={description}
variant={variant}
/>
<div className={className}>{children}</div>
<div className={`flex flex-col flex-1 min-h-0 ${className}`}>
{children}
</div>
</ResponsiveWrapper>
);
}
Expand Down
2 changes: 1 addition & 1 deletion packages/keychain/src/components/layout/footer/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export function Footer({
return (
<div
className={cn(
"flex flex-col gap-2 w-full pt-4 left-0 bottom-0 bg-background",
"flex flex-col gap-2 w-full pt-4 mt-auto bg-background shrink-0",
!showCatridgeLogo && "pb-4",
className,
)}
Expand Down

0 comments on commit e4d03c7

Please sign in to comment.