Skip to content
This repository was archived by the owner on Feb 26, 2021. It is now read-only.

Commit 7ab2876

Browse files
committed
Fix <Body> putting the colon of a judgement in the wrong place
1 parent bdbf78e commit 7ab2876

File tree

2 files changed

+18
-9
lines changed

2 files changed

+18
-9
lines changed

lib/view/component/Body.js

Lines changed: 15 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/view/component/Body.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,8 @@ class Body extends React.Component<Props, void> {
6868
const index = parseInt(item.index.substr(1));
6969
emitter.emit(EVENT.JUMP_TO_GOAL, index);
7070
}}>{item.index}</button>
71-
<span> : </span>
7271
</div>
72+
<div className="item-colon"><span> : </span></div>
7373
<div className="item-body">
7474
<Expr emitter={emitter}>{item.type}</Expr>
7575
</div>
@@ -78,8 +78,8 @@ class Body extends React.Component<Props, void> {
7878
<li className="list-item body-item" key={i}>
7979
<div className="item-heading">
8080
<span className="text-success">{item.expr}</span>
81-
<span> : </span>
8281
</div>
82+
<div className="item-colon"><span> : </span></div>
8383
<div className="item-body">
8484
<Expr emitter={emitter}>{item.type}</Expr>
8585
</div>
@@ -94,8 +94,8 @@ class Body extends React.Component<Props, void> {
9494
<li className="list-item body-item" key={i}>
9595
<div className="item-heading">
9696
<span className="text-success">{item.index}</span>
97-
<span> : </span>
9897
</div>
98+
<div className="item-colon"><span> : </span></div>
9999
<div className="item-body">
100100
<Expr emitter={emitter}>{item.type}</Expr>
101101
<Location abbr emitter={emitter}>{item.location}</Location>

0 commit comments

Comments
 (0)