Skip to content

Commit

Permalink
mobile Keep Going
Browse files Browse the repository at this point in the history
  • Loading branch information
buddy-web3 committed Feb 26, 2024
1 parent 4791ee0 commit 9dd6556
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
2 changes: 1 addition & 1 deletion app/components/Article/KeepGoing/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const NextArticle = ({section, next, first}: NextArticleProps) =>
{first ? 'Start' : 'Continue'} with the {first ? 'first' : 'next'} article in "
{section?.title}"
</div>
<div className={`${styles.container} flex-container bordered`}>
<div className={`${styles.container} flex-container bordered ${styles.flex_dynamic}`}>
<div className="vertically-centered white default-bold">{next.title}</div>
<Button action={questionUrl(next)} className="primary-alt">
{first ? 'Start' : 'Next'}
Expand Down
11 changes: 11 additions & 0 deletions app/components/Article/KeepGoing/keepGoing.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,14 @@
padding: var(--spacing-32);
margin-bottom: var(--spacing-56);
}

@media (max-width: 640px) {
.flex_dynamic {
display: flex;
flex-direction: column;
gap: var(--spacing-16);
}
.container {
padding: var(--spacing-24);
}
}

0 comments on commit 9dd6556

Please sign in to comment.