Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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