Skip to content

Commit

Permalink
tweak markup
Browse files Browse the repository at this point in the history
  • Loading branch information
carlgunderson committed Jan 8, 2024
1 parent 7e72174 commit 06c8d04
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions src/components/Section/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -113,22 +113,22 @@ const Section = () => {

return (
<Box
// ref={ scrollElRef }
// onTouchStart={ handleTouchStart }
// onTouchMove={ handleTouchMove }
// onTouchEnd={ handleTouchEnd }
ref={ scrollElRef }
onTouchStart={ handleTouchStart }
onTouchMove={ handleTouchMove }
onTouchEnd={ handleTouchEnd }
sx={{
// display: 'flex',
// flexDirection: 'column',
// justifyContent: 'space-around',
display: 'flex',
flexDirection: 'column',
justifyContent: 'space-around',
position: 'relative',
width: '100vw',
minHeight: ['calc(100svh - 276px)', 'calc(100svh - 164px)'],
// overflow: selectedItem ? 'hidden' : 'auto',
overflow: 'scroll',
}}
>
<Box
{/* <Box
onTouchStart={ handleTouchStart }
onTouchMove={ handleTouchMove }
onTouchEnd={ handleTouchEnd }
Expand All @@ -146,7 +146,7 @@ const Section = () => {
justifyContent: 'space-around',
overflow: 'scroll',
}}
>
> */}
{
!selectedItem && jobs.map((item, idx) => (
<JobItem
Expand All @@ -159,7 +159,7 @@ const Section = () => {
/>
))
}
</Box>
{/* </Box> */}
{
selectedItem &&
<SelectedItem
Expand Down

0 comments on commit 06c8d04

Please sign in to comment.