Skip to content

Commit

Permalink
fix:adjust marathon content
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentxuu committed Jan 19, 2025
1 parent 5f3e1e1 commit 0a036a4
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
12 changes: 8 additions & 4 deletions components/Home/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@ import JoinCooperate from './JoinCooperate';
const StyledBannerButton = styled(Button)`
&.MuiButton-root {
position: absolute;
top: calc(100vw / 3.6);
top: calc(100vw / 3.65);
left: 50%;
transform: translate(-50%);
border-radius: 40px;
background: #FFA10B;
display: flex;
width: 250px;
height: 50px;
width: 220px;
height: 40px;
padding: 5px 20px;
justify-content: center;
align-items: center;
Expand All @@ -45,8 +45,12 @@ const StyledBannerButton = styled(Button)`
}
@media (max-width: 767px) {
&.MuiButton-root {
top: calc(100vw / 1.434);
font-size: 14px;
width: 180px;
height: 50px;
top: calc(100vw / 1.2);
}
}
`;
Expand Down
2 changes: 1 addition & 1 deletion pages/learning-marathon/profile/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ const LearningMarathonProfile = () => {
sx={{ width: '8px', height: '8px' }}
/>
<span className="text-primary-base font-sans text-xs font-medium">
徵件計畫
學習馬拉松
</span>
</div>
{
Expand Down

0 comments on commit 0a036a4

Please sign in to comment.