Skip to content

Commit 5003e0a

Browse files
committed
Fix activity loader position
1 parent 57c24fe commit 5003e0a

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed

src/Cell.js

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -182,23 +182,22 @@ export default function Cell({
182182
<RunContainer>
183183
{cellId == activeCell ? (
184184
<div
185-
id="play"
186185
onClick={() => {
187186
getCode();
188187
}}
189188
>
190-
<BsFillCaretRightFill color="#FFDF28" fontSize="30px" />
189+
<BsFillCaretRightFill id="play" color="#FFDF28" fontSize="30px" />
190+
<img
191+
id="activity-loader"
192+
style={{ display: "none" }}
193+
width="30px"
194+
src={roll}
195+
alt="running-cell"
196+
/>
191197
</div>
192198
) : (
193199
<div>[{cellId}]:</div>
194200
)}
195-
<img
196-
id="activity-loader"
197-
style={{ display: "none" }}
198-
width="30px"
199-
src={roll}
200-
alt="running-cell"
201-
/>
202201
</RunContainer>
203202
<CellBodyContainer>
204203
<CellHead>

0 commit comments

Comments
 (0)