Skip to content

Commit

Permalink
fix(migrator): adjust layout styles
Browse files Browse the repository at this point in the history
  • Loading branch information
abbylow committed Jul 19, 2023
1 parent b134414 commit 169c079
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
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>
)

0 comments on commit 169c079

Please sign in to comment.