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}
onBlur={() => this.props.hideFileOptions(this.props.file.id)}
tabIndex={this.props.fileIndex}
onClick={() => this.props.setSelectedFile(this.props.file.id)}
>
<a
className="sidebar__file-item-name"
onClick={() => this.props.setSelectedFile(this.props.file.id)}
>{this.props.file.name}</a>
<input
type="text"

View File

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