Improve glow

This commit is contained in:
Eugen Rochko
2017-02-23 02:14:35 +01:00
parent 53ae431867
commit 9d4cad6307
8 changed files with 44 additions and 22 deletions

View File

@ -7,7 +7,8 @@ const iconStyle = {
position: 'absolute',
right: '0',
top: '-48px',
cursor: 'pointer'
cursor: 'pointer',
zIndex: '3'
};
const ColumnCollapsable = React.createClass({
@ -41,7 +42,7 @@ const ColumnCollapsable = React.createClass({
const { icon, fullHeight, children } = this.props;
const { collapsed } = this.state;
const collapsedClassName = collapsed ? 'collapsable-collapsed' : 'collapsable';
return (
<div style={{ position: 'relative' }}>
<div style={{...iconStyle }} className={collapsedClassName} onClick={this.handleToggleCollapsed}><i className={`fa fa-${icon}`} /></div>