Skip to content

Commit 8e27bba

Browse files
peterbegracepark
andauthored
Remove contribution component from mobile temporarily (github#27866)
* Remove contribution component from mobile temporarily * Update components/page-footer/Contribution.tsx Co-authored-by: Grace Park <[email protected]> * cleanup Co-authored-by: Grace Park <[email protected]>
1 parent 0cf7c45 commit 8e27bba

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

components/page-footer/Contribution.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import { GitPullRequestIcon } from '@primer/octicons-react'
2+
23
import { useMainContext } from 'components/context/MainContext'
34
import { useTranslation } from 'components/hooks/useTranslation'
45

@@ -11,7 +12,7 @@ export const Contribution = () => {
1112
: 'https://github.com/github/docs'
1213

1314
return (
14-
<div className="f5 contribution">
15+
<div className="hide-sm hide-md f5 contribution">
1516
<h2 className="f4 mb-3">{t`title`}</h2>
1617
<p className="max-w-xs color-fg-muted mb-3">{t`body`}</p>
1718
<a className="btn color-border-accent-emphasis" href={contributionHref}>

0 commit comments

Comments
 (0)