diff --git a/components/slack/arrows.js b/components/slack/arrows.js index 11983879..7745aa52 100644 --- a/components/slack/arrows.js +++ b/components/slack/arrows.js @@ -51,8 +51,7 @@ export default function Arrows() { display: 'flex', marginTop: 32, marginBottom: 32, - position: 'relative', - left: 'calc(26vw + 63rem)' + position: 'relative' }} >
diff --git a/components/slack/project.js b/components/slack/project.js index f10aa648..b176b700 100644 --- a/components/slack/project.js +++ b/components/slack/project.js @@ -18,12 +18,11 @@ export default function Project({ title, description, color, img, itemId }) { `linear-gradient(to bottom, ${color[0]}, ${color[1]})`, color: 'white', overflow: 'clip', - width: '70rem', + width: ['100vw', '50rem', '70rem'], height: '100%', transition: '700ms cubic-bezier(0.075, 0.02, 0.165, 1)', transformOrigin: 'center', - mx: 16, - ml: `${itemId === 0 ? '26vw' : '0'}` + mx: 16 }} itemId={itemId} > diff --git a/pages/slack.js b/pages/slack.js index 7d95ffab..94bc3a89 100644 --- a/pages/slack.js +++ b/pages/slack.js @@ -87,18 +87,20 @@ const SlackPage = () => { onMouseEnter={disableScroll} onMouseLeave={enableScroll} > - - {projects.map(project => ( - - ))} - + + + {projects.map(project => ( + + ))} + +