Skip to content

Commit 249e638

Browse files
committed
Fix control button
1 parent 1b88059 commit 249e638

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

web/src/pages/Home.tsx

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ export default function Home(): JSX.Element {
7878
<Header />
7979

8080
<div className={styles['project-overview']}>
81-
<Box sx={{ width: '80%', maxWidth: '800px'}}>
81+
<Box sx={{ width: { sm: '80%' }, maxWidth: '800px'}}>
8282

8383

8484
<Box sx={{
@@ -114,7 +114,7 @@ export default function Home(): JSX.Element {
114114
<Tooltip title="Claim a Project" placement="right" arrow>
115115
<IconButton
116116
sx={{ marginLeft: 2, height: '46px', width: '46px', marginTop: '2px'}}
117-
href="/upload"
117+
href="/claim"
118118
>
119119
<Lock></Lock>
120120
</IconButton>
@@ -176,7 +176,8 @@ export default function Home(): JSX.Element {
176176
</Box>
177177
<Box sx={{
178178
display: {
179-
sm: 'block',
179+
md: 'block',
180+
sm: 'none',
180181
xs: 'none'
181182
},
182183
borderLeft:

web/src/style/components/ProjectList.module.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@
44

55
.project-list {
66
min-width: 250px;
7-
width: 80%;
7+
margin-right: 32px;
88
}

0 commit comments

Comments
 (0)