Skip to content

Commit

Permalink
Merge pull request #450 from StampyAI/stampy-redesign-436
Browse files Browse the repository at this point in the history
mobile Keep Going
  • Loading branch information
melissasamworth committed Feb 26, 2024
2 parents 4791ee0 + 9dd6556 commit d1f02f5
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 d1f02f5

Please sign in to comment.