Skip to content

Commit 3523007

Browse files
committed
admin mode review page styles
Signed-off-by: shmck <[email protected]>
1 parent 05209eb commit 3523007

File tree

1 file changed

+13
-10
lines changed
  • web-app/src/containers/Tutorial/containers

1 file changed

+13
-10
lines changed

web-app/src/containers/Tutorial/containers/Review.tsx

+13-10
Original file line numberDiff line numberDiff line change
@@ -93,16 +93,19 @@ const ReviewPage = (props: Props) => {
9393
return show(step.status) ? (
9494
<div key={step.id}>
9595
{adminMode && (
96-
<div css={styles.adminNav}>
97-
<Button
98-
type="normal"
99-
warning
100-
onClick={() => props.onResetToPosition({ levelId: level.id, stepId: step.id })}
101-
>
102-
{step.id}&nbsp;
103-
<Icon type="refresh" />
104-
</Button>
105-
</div>
96+
<>
97+
<div css={styles.adminNav}>
98+
<Button
99+
type="normal"
100+
warning
101+
onClick={() => props.onResetToPosition({ levelId: level.id, stepId: step.id })}
102+
>
103+
{step.id}&nbsp;
104+
<Icon type="refresh" />
105+
</Button>
106+
</div>
107+
<br />
108+
</>
106109
)}
107110
<Step
108111
key={step.id}

0 commit comments

Comments
 (0)