fix(#2404): fixed layout of the modal subscription selection window

keep-around/49421ef270f6d67c86f926015010441ace831522
Rakov Roman 4 years ago
parent 59ca80f923
commit 1e7b0304af
  1. 35
      src/features/BuyMatchPopup/components/PackagesList/styled.tsx

@ -33,7 +33,7 @@ export const List = styled.ul`
${isMobileDevice ${isMobileDevice
? css` ? css`
padding: 0; padding: 0;
height: 176px; height: 180px;
margin-top: 19px; margin-top: 19px;
@media screen and (orientation: landscape){ @media screen and (orientation: landscape){
margin-top: 10px; margin-top: 10px;
@ -78,29 +78,29 @@ export const Item = styled.li.attrs(() => ({
@media (max-width: 750px) { @media (max-width: 750px) {
height: 100%; height: 100%;
} }
${isMobileDevice
${isMobileDevice
? css` ? css`
padding: 5px 10px; padding: 5px 10px;
min-height: 52.29px;
height: 52.29px;
:not(:last-child) { @media (max-width: 750px) {
margin-bottom: 10px;
@media screen and (orientation: landscape){
margin-bottom: 5.24px;
}
@media (max-width: 850px) and (orientation: landscape){
min-height: 52.29px; min-height: 52.29px;
height: 52.29px; height: auto;
} }
:not(:last-child) {
margin-bottom: 10px;
@media screen and (orientation: landscape) {
margin-bottom: 5.24px;
}
} }
` ` : ''};
: ''};
@media (max-width: 850px) and (orientation: landscape){ @media (max-width: 850px) and (orientation: landscape){
min-height: 52.29px; min-height: 52.29px;
height: 52.29px; height: auto;
} }
` `
export const InfoWrapper = styled.div` export const InfoWrapper = styled.div`
@ -213,6 +213,7 @@ export const ScAutoRenewal = styled(PriceDetails)`
line-height: 21px; line-height: 21px;
font-size: 12px; font-size: 12px;
text-transform: none; text-transform: none;
white-space: nowrap;
margin: 0; margin: 0;
color: ${({ theme: { colors } }) => colors.text70}; color: ${({ theme: { colors } }) => colors.text70};
` `

Loading…
Cancel
Save