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