Implement main bar + Change colors
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
dae2f20e76
commit
a42ac77d33
12 changed files with 138 additions and 66 deletions
|
@ -5,7 +5,6 @@ interface IHistoryProps {
|
|||
history: IHistoryState[]
|
||||
historyCurrentStep: number
|
||||
isOpen: boolean
|
||||
onClick: () => void
|
||||
jumpTo: (move: number) => void
|
||||
}
|
||||
|
||||
|
@ -46,12 +45,9 @@ export class History extends React.PureComponent<IHistoryProps> {
|
|||
states.reverse();
|
||||
|
||||
return (
|
||||
<div className={`fixed flex flex-col bg-slate-400 text-white transition-all h-screen w-64 overflow-y-auto z-20 ${isOpenClasses}`}>
|
||||
<button className='close-button bg-slate-500 hover:bg-slate-700 justify-start' onClick={this.props.onClick}>
|
||||
× Close
|
||||
</button>
|
||||
<div className='bg-slate-600 sidebar-row'>
|
||||
History
|
||||
<div className={`fixed flex flex-col bg-slate-300 text-white transition-all h-screen w-64 overflow-y-auto z-20 ${isOpenClasses}`}>
|
||||
<div className='bg-slate-600 font-bold sidebar-title'>
|
||||
Timeline
|
||||
</div>
|
||||
<div className='overflow-y-auto overflow-x-hidden text-slate-300 flex-grow divide-y divide-solid divide-slate-600'>
|
||||
{ states }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue