ElementsSidebar: Fix hover color
This commit is contained in:
parent
e5012256de
commit
b2a020730c
1 changed files with 1 additions and 1 deletions
|
@ -49,7 +49,7 @@ export class ElementsSidebar extends React.Component<IElementsSidebarProps> {
|
||||||
const text = '\t\t'.repeat(depth) + key;
|
const text = '\t\t'.repeat(depth) + key;
|
||||||
const selectedClass: string = this.props.SelectedContainer !== null &&
|
const selectedClass: string = this.props.SelectedContainer !== null &&
|
||||||
this.props.SelectedContainer.props.id === container.props.id
|
this.props.SelectedContainer.props.id === container.props.id
|
||||||
? 'bg-blue-500 hover:bg-slate-500'
|
? 'bg-blue-500 hover:bg-blue-600'
|
||||||
: 'bg-slate-400 hover:bg-slate-600';
|
: 'bg-slate-400 hover:bg-slate-600';
|
||||||
containerRows.push(
|
containerRows.push(
|
||||||
<button className={`sidebar-row whitespace-pre text-left transition-all ${selectedClass}`} key={key} onClick={() => this.props.selectContainer(container)}>
|
<button className={`sidebar-row whitespace-pre text-left transition-all ${selectedClass}`} key={key} onClick={() => this.props.selectContainer(container)}>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue