Button to .button; Commands setup UI; polishing context menu
This commit is contained in:
@ -174,12 +174,12 @@ class LibraryBrowse extends React.Component{
|
||||
options={view_options}
|
||||
handleChange={value => {this.props.uiActions.set({ library_directory_view: value }); this.props.uiActions.hideContextMenu()}}
|
||||
/>
|
||||
{tracks ? <button className="no-hover" onClick={e => this.playAll(e, tracks)}>
|
||||
{tracks ? <a className="button no-hover" onClick={e => {this.props.uiActions.hideContextMenu(); this.playAll(e, tracks)}}>
|
||||
<Icon name="play_circle_filled" />Play all
|
||||
</button> : null }
|
||||
<button className="no-hover" onClick={e => this.goBack(e)}>
|
||||
</a> : null }
|
||||
<a className="button no-hover" onClick={e => {this.props.uiActions.hideContextMenu(); this.goBack(e)}}>
|
||||
<Icon name="keyboard_backspace" />Back
|
||||
</button>
|
||||
</a>
|
||||
</span>
|
||||
);
|
||||
|
||||
@ -266,7 +266,7 @@ class LibraryBrowse extends React.Component{
|
||||
|
||||
return (
|
||||
<div className="view library-local-view">
|
||||
<Header>
|
||||
<Header uiActions={this.props.uiActions}>
|
||||
<Icon name="folder" type="material" />
|
||||
Browse
|
||||
</Header>
|
||||
|
||||
Reference in New Issue
Block a user