Skip to content

Commit

Permalink
Update contribute button to not appear on mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
MathyouMB committed Jun 29, 2024
1 parent 7ef23fb commit 71eb9aa
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/layouts/Evaluation/Evaluation.astro
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ const { path, page, generate, includeLinks, shuffle } = Astro.props;
><Button icon="mdi mdi-creation" highlight={generate} /></a
>
<a
class="Question__contribute"
href={`https://github.com/CarletonComputerScienceSociety/questions/blob/main/src/content/evaluations/${path}.md`}
><Button icon="mdi mdi-github" /></a
>
Expand Down
6 changes: 6 additions & 0 deletions src/layouts/Evaluation/Evaluation.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,9 @@
margin-bottom: 1.5rem;
margin-top: -0.25rem;
}

@media (max-width: 768px) {
.Question__contribute {
display: none;
}
}

0 comments on commit 71eb9aa

Please sign in to comment.