don't use <hr> for horizontal lines between elements + better looking shadows
This commit is contained in:
parent
431e542791
commit
7045513c0d
4 changed files with 40 additions and 21 deletions
|
|
@ -21,8 +21,9 @@ export function RTHistory({rt, rtIdx, ast, setRTIdx, setTime, refRightSideBar}:
|
|||
|
||||
return <div>
|
||||
{rt.map((r, idx) => <>
|
||||
<hr/>
|
||||
<div className={"runtimeState"+(idx===rtIdx?" active":"")} onClick={() => gotoRt(idx, r.simtime)}>
|
||||
<div
|
||||
className={"runtimeState"+(idx===rtIdx?" active":"")}
|
||||
onClick={() => gotoRt(idx, r.simtime)}>
|
||||
<div>
|
||||
{formatTime(r.simtime)}
|
||||
 
|
||||
|
|
@ -33,6 +34,7 @@ export function RTHistory({rt, rtIdx, ast, setRTIdx, setTime, refRightSideBar}:
|
|||
{r.outputEvents.length>0 && <>^
|
||||
{r.outputEvents.map((e:RaisedEvent) => <span className="outputEvent">{e.name}</span>)}
|
||||
</>}
|
||||
{/* <hr/> */}
|
||||
</div></>)}
|
||||
</div>;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue