Skip to content

Feature/styles #14

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 3 commits into from
Jul 14, 2019
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
Next Next commit
adjust card styles
  • Loading branch information
ShMcK committed Jul 14, 2019
commit bc3df24173aa2c2fe415e7c47924fc3390d91d3b
19 changes: 12 additions & 7 deletions web-app/src/components/Step/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,24 @@ import CR from 'typings'
import Markdown from '../Markdown'

const styles = {
active: {
backgroundColor: '#e6f7ff',
},
card: {
display: 'flex',
flexDirection: 'row' as 'row',
borderRadius: '0.3rem',
display: 'grid',
gridTemplateAreas: 'CheckboxMargin Content',
gridTemplateColumns: '2rem 1fr',
gridTemplateRows: '1fr',
margin: '1rem',
},
left: {
width: '2rem',
justifySelf: 'center',
paddingTop: '0.8rem',
},
right: {
flex: 1,
},
active: {
backgroundColor: 'yellow',
padding: '0.2rem',
paddingTop: 0,
},
}

Expand Down