fix(#2404): fixed check for mobile device

keep-around/88b683eb0748a6e7f3c8d242d7abeeaa01eaba55
Rakov Roman 4 years ago
parent aba383944b
commit 237b6236ef
  1. 2
      Makefile
  2. 14
      src/features/BuyMatchPopup/components/PackagesList/styled.tsx

@ -130,7 +130,7 @@ b-stage: build-b
rsync -zavP --delete-before build/ -e 'ssh -p 666' ott-staging@staging.instat.tv:/usr/local/www/ott-staging/b-wwwroot/ rsync -zavP --delete-before build/ -e 'ssh -p 666' ott-staging@staging.instat.tv:/usr/local/www/ott-staging/b-wwwroot/
c-stage: build-c c-stage: build-c
rsync -zavP --delete-before build/ -e 'ssh -p 666' ott-staging@10.0.3.8:/usr/local/www/ott-staging/c-wwwroot/ rsync -zavP --delete-before build/ -e 'ssh -p 666' ott-staging@staging.instat.tv:/usr/local/www/ott-staging/c-wwwroot/
d-stage: build-d d-stage: build-d
rsync -zavP --delete-before build/ -e 'ssh -p 666' ott-staging@staging.instat.tv:/usr/local/www/ott-staging/d-wwwroot/ rsync -zavP --delete-before build/ -e 'ssh -p 666' ott-staging@staging.instat.tv:/usr/local/www/ott-staging/d-wwwroot/

@ -9,8 +9,6 @@ import {
Period, Period,
} from 'features/Price/styled' } from 'features/Price/styled'
import { devices } from '../../../../config'
export const List = styled.ul` export const List = styled.ul`
width: 100%; width: 100%;
height: 460px; height: 460px;
@ -217,11 +215,13 @@ export const ScAutoRenewal = styled(PriceDetails)`
margin: 0; margin: 0;
color: ${({ theme: { colors } }) => colors.text70}; color: ${({ theme: { colors } }) => colors.text70};
@media ${devices.mobile} { ${isMobileDevice
line-height: normal; ? css`
font-size: 10px; line-height: normal;
text-align: center; font-size: 10px;
} text-align: center;
`
: ''};
` `
export const ScPriceContainer = styled.div` export const ScPriceContainer = styled.div`

Loading…
Cancel
Save