Skip to content

Commit 2d29037

Browse files
committed
Don't use the theme background color for survey modal
1 parent 7e1969b commit 2d29037

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

packages/app/src/app/pages/common/Modals/SurveyModal/SurveyModal.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import * as typeformEmbed from '@typeform/embed';
33
import { useStore, useSignals } from 'app/store';
44
import hash from '@codesandbox/common/lib/utils/hash';
55

6-
import { Container } from '../elements';
6+
import { Container } from './elements';
77

88
export const SurveyModal = () => {
99
const store = useStore();
@@ -32,7 +32,7 @@ export const SurveyModal = () => {
3232
};
3333

3434
return (
35-
<Container style={{ borderRadius: 4, paddingTop: '1rem' }}>
35+
<Container>
3636
<div style={{ width: '100%', height: 500 }} ref={initializeTypeform} />
3737
</Container>
3838
);
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
import styled from 'styled-components';
2+
3+
export const Container = styled.div`
4+
background-color: ${props => props.theme.background2};
5+
color: ${props => props.theme.white};
6+
padding: 1rem;
7+
margin: 0;
8+
border-radius: 4px;
9+
overflow: hidden;
10+
`;

0 commit comments

Comments
 (0)