style(#ott-706): removed scroll from players list in match popup (#270)

keep-around/af30b88d367751c9e05a735e4a0467a96238ef47
Sergiu 5 years ago committed by GitHub
parent f6fe9d217b
commit 53fe8601c4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 10
      src/features/MatchPopup/components/FinishedMatchPlaylist/index.tsx
  2. 5
      src/features/MatchPopup/components/FinishedMatchPopup/styled.tsx
  3. 9
      src/features/MatchPopup/components/PlayersList/styled.tsx
  4. 5
      src/features/MatchPopup/components/PlaylistButton/index.tsx

@ -20,9 +20,13 @@ const List = styled.ul`
margin-bottom: 0; margin-bottom: 0;
} }
@media ${devices.mobile} { @media ${devices.tablet} {
width: 100%; width: 100%;
margin: 12px auto; margin: 12px auto;
padding: 0 32px;
}
@media ${devices.mobile} {
padding: 0 12px; padding: 0 12px;
} }
` `
@ -32,6 +36,10 @@ const Item = styled.li`
width: 420px; width: 420px;
height: 50px; height: 50px;
@media ${devices.tablet} {
width: 48%;
}
@media ${devices.mobile} { @media ${devices.mobile} {
width: 100%; width: 100%;
height: 36px; height: 36px;

@ -15,8 +15,11 @@ export const Modal = styled(BaseModal)`
background-color: #3F3F3F; background-color: #3F3F3F;
border-radius: 5px; border-radius: 5px;
@media ${devices.mobile} { @media ${devices.tablet} {
width: 100vw; width: 100vw;
}
@media ${devices.mobile} {
height: 100vh; height: 100vh;
padding: 0; padding: 0;
background-color: transparent; background-color: transparent;

@ -4,7 +4,6 @@ import { devices } from 'config'
import { Name } from 'features/Name' import { Name } from 'features/Name'
import { ProfileLogo } from 'features/ProfileLogo' import { ProfileLogo } from 'features/ProfileLogo'
import { customScrollbar } from 'features/Common'
import { Teams } from '../../types' import { Teams } from '../../types'
@ -14,21 +13,15 @@ type ListProps = {
export const List = styled.ul<ListProps>` export const List = styled.ul<ListProps>`
width: calc((100% - 30px) / 2); width: calc((100% - 30px) / 2);
height: 230px;
overflow: auto;
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;
align-content: flex-start;
flex-direction: ${({ team }) => ( flex-direction: ${({ team }) => (
team === Teams.TEAM1 team === Teams.TEAM1
? 'row-reverse' ? 'row-reverse'
: 'row' : 'row'
)}; )};
${customScrollbar}
::-webkit-scrollbar-thumb {
background-color: #555555;
}
@media ${devices.mobile} { @media ${devices.mobile} {
width: 100%; width: 100%;
height: auto; height: auto;

@ -68,8 +68,11 @@ export const Title = styled.span<TitleProps>`
text-transform: ${({ textTransform = 'uppercase' }) => textTransform}; text-transform: ${({ textTransform = 'uppercase' }) => textTransform};
color: #ffffff; color: #ffffff;
@media ${devices.mobile} { @media ${devices.tablet} {
font-size: 17px; font-size: 17px;
}
@media ${devices.mobile} {
line-height: 16px; line-height: 16px;
margin-right: 16px; margin-right: 16px;
text-transform: none; text-transform: none;

Loading…
Cancel
Save