Skip to content

Commit e6ae003

Browse files
committed
<1024
1 parent c97f32a commit e6ae003

File tree

4 files changed

+4
-7
lines changed

4 files changed

+4
-7
lines changed

src/app/steps/Canvas/MobileLayoutSwitcher.js

Lines changed: 0 additions & 3 deletions
This file was deleted.

src/app/steps/Canvas/index.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
export { default as CanvasStep } from './CanvasStep';
22
export { default as HeaderActions } from './HeaderActions';
3-
export { default as MobileLayoutSwitcher } from './MobileLayoutSwitcher';
43
export { default as Preview } from './Preview';
54
export { default as Sidebar } from './Sidebar';
65

src/app/steps/Previews/PreviewsStep.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,14 +73,14 @@ const PreviewsStep = () => {
7373

7474
return (
7575
<Step>
76-
<Container className="nfd-onboarding-step-container nfd-onboarding-step-previews nfd-min-w-[948px] nfd-max-w-[948px]">
76+
<Container className="nfd-onboarding-step-container nfd-onboarding-step-previews nfd-min-w-[948px] nfd-max-w-[948px] tablet:nfd-min-w-[90%] tablet:nfd-max-w-[90%]">
7777
<Container.Header
7878
title={ getStepTitle() }
7979
description={ getStepDescription() }
8080
className="nfd-gap-2"
8181
/>
82-
<Container.Block className="mobile:nfd-w-screen">
83-
<div className="nfd-grid nfd-grid-cols-3 nfd-gap-6 mobile:!nfd-grid-cols-[repeat(3,minmax(300px,1fr))] mobile:nfd-overflow-x-auto mobile:-nfd-ml-[5%] mobile:nfd-pl-[5%] mobile:nfd-mr-[5%] mobile:nfd-pr-[5%]">
82+
<Container.Block className="tablet:nfd-w-screen">
83+
<div className="nfd-grid nfd-grid-cols-3 nfd-gap-6 tablet:!nfd-grid-cols-[repeat(3,minmax(300px,1fr))] tablet:nfd-overflow-x-auto tablet:-nfd-ml-[5%] tablet:nfd-pl-[5%] tablet:nfd-mr-[5%] tablet:nfd-pr-[5%]">
8484
{ renderPreviews() }
8585
</div>
8686
</Container.Block>

tailwind.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ module.exports = {
3131
},
3232
screens: {
3333
mobile: { max: '600px' },
34+
tablet: { max: '1024px' },
3435
},
3536
},
3637
},

0 commit comments

Comments
 (0)