fix(#2483): add background for button close

keep-around/be898469f9f71883b0e0cce8a4d675d375c4cef2
Andrei Dekterev 4 years ago
parent 5a39604a01
commit be898469f9
  1. 8
      src/features/BuyMatchPopup/components/BrazilPayment/index.tsx
  2. 14
      src/features/Modal/styled.tsx
  3. 1
      src/pages/ThanksPage/styled.tsx

@ -36,7 +36,13 @@ export const BrazilPayment = ({
return ( return (
<ScModal isOpen={open} withCloseButton close={closePopup}> <ScModal isOpen={open} withCloseButton close={closePopup}>
{src && open ? ( {src && open ? (
<iframe title='BrazilPayment' src={src} height={600} width='100%' /> <iframe
title='BrazilPayment'
frameBorder='0'
src={src}
height={600}
width='100%'
/>
) : ( ) : (
<> <>
{error ? ( {error ? (

@ -44,15 +44,13 @@ export const ModalCloseButton = styled.button.attrs({
right: 0; right: 0;
border-style: none; border-style: none;
outline: none; outline: none;
padding: 16px 19px;
cursor: pointer; cursor: pointer;
color: rgba(255, 255, 255, 1); color: rgba(255, 255, 255, 1);
background-color: transparent; background: rgba(255, 255, 255, 0.15);
border-radius: 50%;
width: 20px;
height: 20px;
margin: 10px 10px 0 0;
${isMobileDevice
? css`
padding: 16px 14px 15px 15px;
`
: ''};
` `

@ -80,6 +80,7 @@ export const ScText = styled.span`
font-weight: 500; font-weight: 500;
font-size: 16px; font-size: 16px;
line-height: 10px; line-height: 10px;
color: rgba(255, 255, 255, 0.7);
` `
: ''}; : ''};
` `

Loading…
Cancel
Save