This commit is contained in:
parent
3bee1f8c37
commit
5877b82933
2 changed files with 4 additions and 1 deletions
|
@ -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"
|
||||
|
|
|
@ -44,6 +44,9 @@
|
|||
&--selected {
|
||||
background-color: $ide-border-color;
|
||||
}
|
||||
&:hover .sidebar__file-item-name {
|
||||
color: $light-primary-text-color;
|
||||
}
|
||||
}
|
||||
|
||||
.sidebar__file-item-name {
|
||||
|
|
Loading…
Reference in a new issue