Skip to content

Commit

Permalink
Cleans up the layout & lookup of our "tables". (#111)
Browse files Browse the repository at this point in the history
  • Loading branch information
skellock committed Aug 13, 2016
1 parent 055626b commit c299ff8
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions packages/reactotron-app/App/Shared/MakeTable.js
Original file line number Diff line number Diff line change
@@ -1,24 +1,28 @@
import React from 'react'
import Colors from '../Theme/Colors'
import { map, toPairs, identity, isNil, T, equals, cond, always } from 'ramda'
import { map, toPairs, identity, isNil, T, cond, always } from 'ramda'

const Styles = {
row: {
display: 'flex',
flexDirection: 'row',
justifyContent: 'space-between',
WebkitUserSelect: 'all'
WebkitUserSelect: 'all',
borderBottom: `1px solid ${Colors.subtleLine}`,
padding: '2px 0'
},
key: {
width: '25%',
minWidth: 150,
paddingRight: 10,
wordBreak: 'break-all',
textAlign: 'right',
textAlign: 'left',
color: Colors.text
},
value: {
flex: 1,
wordBreak: 'break-all'
wordBreak: 'break-all',
color: Colors.text
}
}

Expand Down

0 comments on commit c299ff8

Please sign in to comment.