catarak 2016-08-10 20:02:55 -04:00
parent 3bee1f8c37
commit 5877b82933
2 changed files with 4 additions and 1 deletions

View File

@ -41,10 +41,10 @@ class SidebarItem extends React.Component {
className={itemClass} className={itemClass}
onBlur={() => this.props.hideFileOptions(this.props.file.id)} onBlur={() => this.props.hideFileOptions(this.props.file.id)}
tabIndex={this.props.fileIndex} tabIndex={this.props.fileIndex}
onClick={() => this.props.setSelectedFile(this.props.file.id)}
> >
<a <a
className="sidebar__file-item-name" className="sidebar__file-item-name"
onClick={() => this.props.setSelectedFile(this.props.file.id)}
>{this.props.file.name}</a> >{this.props.file.name}</a>
<input <input
type="text" type="text"

View File

@ -44,6 +44,9 @@
&--selected { &--selected {
background-color: $ide-border-color; background-color: $ide-border-color;
} }
&:hover .sidebar__file-item-name {
color: $light-primary-text-color;
}
} }
.sidebar__file-item-name { .sidebar__file-item-name {