Skip to content

Feature/emotion #70

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 9 commits into from
Jan 12, 2020
Prev Previous commit
Next Next commit
fix overview page footer styles
  • Loading branch information
ShMcK committed Jan 12, 2020
commit e5072dcaee0d4b0e4371a413301e22eecbbb0d12
9 changes: 5 additions & 4 deletions web-app/src/containers/Overview/OverviewPage.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import * as React from 'react'
import * as G from 'typings/graphql'
import { css, jsx } from '@emotion/core'
import Button from '../../components/Button'
import Markdown from '../../components/Markdown'

Expand Down Expand Up @@ -30,9 +29,11 @@ const styles = {
levelList: {
padding: '0rem 1rem',
},
options: {
position: 'absolute' as 'absolute',
footer: {
position: 'fixed' as 'fixed',
bottom: 0,
left: 0,
right: 0,
display: 'flex' as 'flex',
flexDirection: 'row' as 'row',
alignItems: 'center' as 'center',
Expand Down Expand Up @@ -79,7 +80,7 @@ const Summary = ({ title, description, levels, onNext }: Props) => (
</div>
</div>

<div css={styles.options}>
<div css={styles.footer}>
{/* TODO Add back button */}
<Button type="primary" onClick={() => onNext()}>
Start
Expand Down