Skip to content

Commit 83f7994

Browse files
authored
Merge pull request #4941 from topcoder-platform/gui-kit-components
fixed cors on test
2 parents f08c663 + 655d666 commit 83f7994

File tree

2 files changed

+12
-15
lines changed

2 files changed

+12
-15
lines changed

src/shared/containers/SubscribeMailChimpTag/index.jsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,13 @@
44
import React from 'react';
55
import PT from 'prop-types';
66
import { isValidEmail } from 'utils/tc';
7-
import { config } from 'topcoder-react-utils';
87
import { Modal } from 'topcoder-react-ui-kit';
98
import modalStyle from 'components/NewsletterSignupForMembers/modal.scss';
109
import defaulTheme from './style.scss';
1110

1211
/* Holds the base URL of Community App endpoints that proxy HTTP request to
1312
* mailchimp APIs. */
14-
const PROXY_ENDPOINT = `${config.URL.COMMUNITY_APP}/api/mailchimp`;
13+
const PROXY_ENDPOINT = '/api/mailchimp';
1514

1615
class SubscribeMailChimpTagContainer extends React.Component {
1716
constructor(props) {

src/shared/containers/SubscribeMailChimpTag/style.scss

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -10,21 +10,19 @@
1010
font-family: Roboto, sans-serif;
1111
font-size: 14px;
1212
line-height: 22px;
13+
}
1314

14-
&::placeholder,
15-
&::-moz-placeholder,
16-
&::-webkit-input-placeholder,
17-
&::-webkit-placeholder {
18-
color: #aaa !important;
19-
font-family: Roboto, sans-serif !important;
20-
font-size: 14px !important;
21-
line-height: 40px !important;
22-
text-transform: none;
23-
}
15+
input::-webkit-input-placeholder,
16+
input::placeholder {
17+
color: #aaa !important;
18+
font-family: Roboto, sans-serif !important;
19+
font-size: 14px !important;
20+
line-height: 40px !important;
21+
text-transform: none;
22+
}
2423

25-
&:focus {
26-
box-shadow: none !important;
27-
}
24+
input:focus {
25+
box-shadow: none !important;
2826
}
2927

3028
.button {

0 commit comments

Comments
 (0)