Skip to content
Snippets Groups Projects
Commit d315aba5 authored by Josiah Neuberger's avatar Josiah Neuberger
Browse files

Adjust question prompt in full screen to be same size as stage and centered.

parent b7995736
No related branches found
No related tags found
No related merge requests found
......@@ -59,7 +59,11 @@
justify-content: center;
}
.monitor-wrapper, .color-picker-wrapper {
.question-wrapper {
position: absolute;
}
.monitor-wrapper, .color-picker-wrapper, .queston-wrapper {
position: absolute;
top: 0;
left: 0;
......
......@@ -78,12 +78,19 @@ const StageComponent = props => {
<Box className={styles.monitorWrapper}>
<MonitorList />
</Box>
{question === null ? null : (
<Question
question={question}
onQuestionAnswered={onQuestionAnswered}
/>
)}
<div className={styles.stageOverlayContent}>
<div
className={styles.questionWrapper}
style={{width: widthCorrectedAspect}}
>
{question === null ? null : (
<Question
question={question}
onQuestionAnswered={onQuestionAnswered}
/>
)}
</div>
</div>
</Box>
</div>
);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment