readded scroll and removed no longer used style

This commit is contained in:
dzannotti 2015-08-07 20:25:41 +01:00
parent 4ca436fdf2
commit a19d7d6e9d

View File

@ -11,11 +11,19 @@ const styles = {
width: '100%', width: '100%',
height: '100%' height: '100%'
}, },
buttonBarWrapper: {
marginBottom: 1
},
buttonBar: { buttonBar: {
height: 26,
marginBottom: 1,
paddingLeft: 2 paddingLeft: 2
},
elements: {
position: 'absolute',
left: 0,
right: 0,
top: 27,
bottom: 0,
overflowX: 'hidden',
overflowY: 'auto'
} }
}; };
@ -163,10 +171,7 @@ export default class LogMonitor {
<LogMonitorButton theme={theme} onClick={::this.handleCommit}>Commit</LogMonitorButton> <LogMonitorButton theme={theme} onClick={::this.handleCommit}>Commit</LogMonitorButton>
} }
</div> </div>
<div styles={{ <div style={styles.elements} ref="elements">
overflowX: 'hidden',
overflowY: 'auto'
}} ref="elements">
{elements} {elements}
</div> </div>
</div> </div>