Skip to content

Commit

Permalink
fix(layout): improve responsiveness
Browse files Browse the repository at this point in the history
  • Loading branch information
devshred committed Jun 9, 2024
1 parent d6659ff commit cd78766
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions src/components/merge/UploadForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ const baseStyle = {
borderRadius: 16,
borderStyle: 'dashed',
transition: 'border .24s ease-in-out',
width: '480px',
}

const focusedStyle = {
Expand Down Expand Up @@ -68,7 +67,7 @@ const UploadForm: React.FC = () => {
{mergedFile === null && (
<div className="my-7">
<section className="container">
<div {...getRootProps({ style })} className="text-base-content dropzone">
<div {...getRootProps({ style })} className="text-base-content dropzone w-80 sm:w-[480px]">
<input {...getInputProps()} />
{isDragActive ? (
<>
Expand Down
2 changes: 1 addition & 1 deletion src/pages/MergeScreen.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const MergeScreen = () => (
</UploadProvider>
</div>
<div
className="ml-10 mt-10 invisible 2xl:visible xl:visible relative"
className="mx-10 mt-10 invisible 2xl:visible xl:visible relative"
style={{ width: '100%', maxWidth: '1024px' }}
>
<GpsToolsGraphic />
Expand Down

0 comments on commit cd78766

Please sign in to comment.