Skip to content

Commit 3eeb02c

Browse files
committed
fix: set default background color for interactive task to white
1 parent d00aca4 commit 3eeb02c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/instrument-renderer/src/components/InteractiveContent/InteractiveContent.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ export const InteractiveContent = React.memo<InteractiveContentProps>(function I
112112
name="interactive-instrument"
113113
ref={iFrameRef}
114114
srcDoc={`<script type="module">${bootstrapScript}</script>`}
115-
style={{ height: dimensions, scale: `${scale}%`, width: dimensions }}
115+
style={{ backgroundColor: 'white', height: dimensions, scale: `${scale}%`, width: dimensions }}
116116
title="Open Data Capture - Interactive Instrument"
117117
/>
118118
</div>

0 commit comments

Comments
 (0)