mirror of
https://github.com/System-End/site.git
synced 2026-04-20 00:25:19 +00:00
better height
This commit is contained in:
parent
0810b4d7aa
commit
827a6c2736
2 changed files with 4 additions and 3 deletions
|
|
@ -19,10 +19,11 @@ export default function Project({ title, description, color, img, itemId }) {
|
|||
color: 'white',
|
||||
overflow: 'clip',
|
||||
width: ['100vw', '50rem', '70rem'],
|
||||
height: '100%',
|
||||
height: '50vh',
|
||||
transition: '700ms cubic-bezier(0.075, 0.02, 0.165, 1)',
|
||||
transformOrigin: 'center',
|
||||
mx: 16
|
||||
mx: 16,
|
||||
ml: `${itemId === 0 && 'calc(50vw - 35rem)'}`
|
||||
}}
|
||||
itemId={itemId}
|
||||
>
|
||||
|
|
|
|||
|
|
@ -87,7 +87,7 @@ const SlackPage = () => {
|
|||
onMouseEnter={disableScroll}
|
||||
onMouseLeave={enableScroll}
|
||||
>
|
||||
<Box sx={{ ml: ['2vw', '25vw'] }}>
|
||||
<Box>
|
||||
<ScrollMenu Footer={Arrows} onWheel={onWheel}>
|
||||
{projects.map(project => (
|
||||
<Project
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue