Skip to content

fixed cors on test #4941

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 16, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions src/shared/containers/SubscribeMailChimpTag/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,13 @@
import React from 'react';
import PT from 'prop-types';
import { isValidEmail } from 'utils/tc';
import { config } from 'topcoder-react-utils';
import { Modal } from 'topcoder-react-ui-kit';
import modalStyle from 'components/NewsletterSignupForMembers/modal.scss';
import defaulTheme from './style.scss';

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

class SubscribeMailChimpTagContainer extends React.Component {
constructor(props) {
Expand Down
24 changes: 11 additions & 13 deletions src/shared/containers/SubscribeMailChimpTag/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -10,21 +10,19 @@
font-family: Roboto, sans-serif;
font-size: 14px;
line-height: 22px;
}

&::placeholder,
&::-moz-placeholder,
&::-webkit-input-placeholder,
&::-webkit-placeholder {
color: #aaa !important;
font-family: Roboto, sans-serif !important;
font-size: 14px !important;
line-height: 40px !important;
text-transform: none;
}
input::-webkit-input-placeholder,
input::placeholder {
color: #aaa !important;
font-family: Roboto, sans-serif !important;
font-size: 14px !important;
line-height: 40px !important;
text-transform: none;
}

&:focus {
box-shadow: none !important;
}
input:focus {
box-shadow: none !important;
}

.button {
Expand Down