fix(ott-1346): fix adaptive style (#454)

keep-around/af30b88d367751c9e05a735e4a0467a96238ef47
Serg 4 years ago committed by GitHub
parent 6a3704c1a1
commit 06eac34d12
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 12
      src/features/BuyMatchPopup/components/SubscriptionsList/styled.tsx
  2. 9
      src/features/BuyMatchPopup/styled.tsx

@ -23,6 +23,15 @@ export const List = styled.ul`
@media (max-width: 1370px) {
max-height: 415px;
}
@media (max-height: 768px) {
max-height: 280px;
}
@media (max-height: 500px) {
max-height: 140px;
}
${isMobileDevice
? css`
padding: 0;
@ -68,8 +77,7 @@ export const Item = styled.li.attrs(() => ({
}
@media (max-width: 750px) {
min-height: 52.29px;
height: 52.29px;
height: 100%;
}
${isMobileDevice
? css`

@ -85,9 +85,16 @@ export const Wrapper = styled.div<WrapperProps>`
width: ${({ width }) => (width ? `${width}px` : '830px')};
padding: 20px 0 20px;
@media (max-width: 750px){
width: 100%;
padding: 40px 10px 20px;
display: flex;
flex-direction: column;
justify-content: space-evenly;
}
${isMobileDevice
? css`
@media screen and (orientation: landscape){
padding: 17px 10px 15px;
width: 100%;

Loading…
Cancel
Save