Integrating new form binder

This commit is contained in:
John Lyon-Smith
2018-03-06 07:43:21 -08:00
parent 535fffaf41
commit c1bf470aa0
15 changed files with 93 additions and 54 deletions

View File

@@ -21,12 +21,12 @@ class List extends Component {
fontFamily: fontInfo.family,
}}>
<Box
border={`${sizeInfo.listBorderWidth}px solid ${colorInfo.listBorder}`}
border={{ width: sizeInfo.listBorderWidth, color: colorInfo.listBorder }}
radius={sizeInfo.formBoxRadius}>
<div style={{
height: '100%',
width: '100%',
overflow: 'scroll'
overflowY: 'scroll',
}}>
{children}
</div>
@@ -49,7 +49,7 @@ List.Item = Radium(class ListItem extends Component {
return (
<div style={{
display: 'table-row',
background: active ? colorInfo.listBackgroundActive : colorInfo.listBackground,
background: active ? colorInfo.listBackgroundActive : 'transparent',
':hover': {
background: colorInfo.listBackgroundHover
},