Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(migrator): adjust layout styles #127

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions apps/converter/src/components/converter/Convert.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ export default function Convert() {
<Typography variant="body" className="text-center mt-6 mb-2">
The migration is irreversible.
</Typography>
<div className="w-full lg:grid lg:grid-cols-3 flex flex-col md:flex-row md:items-start gap-4 lg:mx-auto ">
<div className="w-full lg:grid lg:grid-cols-3 lg:grid-cols-[1fr_2fr_1fr] flex flex-col md:flex-row md:items-start gap-8 lg:mx-auto ">
<div className="hidden lg:block" />
<ConvertCard className="lg:min-w-[320px]">
<From />
Expand All @@ -81,7 +81,7 @@ export default function Convert() {
<TX />
</div>
</ConvertCard>
<div className="flex flex-col w-full md:w-[80%] lg:w-auto lg:min-w-[250px] lg:max-w-[250px] xl:w-[320px] xl:max-w-[320px] ">
<div className="flex flex-col w-full md:w-[70%] lg:w-auto lg:min-w-[250px] lg:max-w-[250px] xl:w-[320px] xl:max-w-[320px] ">
<Suspense fallback={<SCLoading />}>
<SmartContractTracker halted={!!halted} />
</Suspense>
Expand Down
6 changes: 5 additions & 1 deletion packages/ui/src/layout/PageContainer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,8 @@ export const PageContainer = ({
children: React.ReactNode
// eslint-disable-next-line react/require-default-props
className?: string
}) => <div className={`flex flex-col px-4 ${className || ``}`}>{children}</div>
}) => (
<div className={`flex flex-col md:px-12 px-4 ${className || ``}`}>
{children}
</div>
)