|
|
|
|
@ -7,12 +7,15 @@ import { customScrollbar } from 'features/Common' |
|
|
|
|
|
|
|
|
|
export const Wrapper = styled.div` |
|
|
|
|
padding-right: 14px; |
|
|
|
|
min-width: 17%; |
|
|
|
|
max-height: 896px; |
|
|
|
|
|
|
|
|
|
${isMobileDevice |
|
|
|
|
? css` |
|
|
|
|
overflow-y: auto; |
|
|
|
|
width: 100%; |
|
|
|
|
|
|
|
|
|
padding-right: 10px; |
|
|
|
|
|
|
|
|
|
${customScrollbar} |
|
|
|
|
` |
|
|
|
|
: ''}; |
|
|
|
|
@ -20,7 +23,8 @@ export const Wrapper = styled.div` |
|
|
|
|
|
|
|
|
|
export const TabsWrapper = styled.div` |
|
|
|
|
padding-left: 14px; |
|
|
|
|
|
|
|
|
|
height: 4%; |
|
|
|
|
|
|
|
|
|
${isMobileDevice |
|
|
|
|
? css` |
|
|
|
|
padding: 0 5px; |
|
|
|
|
@ -28,17 +32,28 @@ export const TabsWrapper = styled.div` |
|
|
|
|
: ''}; |
|
|
|
|
` |
|
|
|
|
|
|
|
|
|
export const ContainerWrapper = styled.div` |
|
|
|
|
padding-top: 14px; |
|
|
|
|
height: 100%; |
|
|
|
|
max-width: 300px; |
|
|
|
|
|
|
|
|
|
${isMobileDevice |
|
|
|
|
? css` |
|
|
|
|
max-width: 100%; |
|
|
|
|
` |
|
|
|
|
: ''}; |
|
|
|
|
` |
|
|
|
|
|
|
|
|
|
type TContainer = { |
|
|
|
|
forVideoTab?: boolean, |
|
|
|
|
hasScroll: boolean, |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
export const Container = styled.div<TContainer>` |
|
|
|
|
width: 320px; |
|
|
|
|
margin-top: 14px; |
|
|
|
|
padding: ${({ hasScroll }) => (hasScroll ? '0 10px 0 14px' : '0 18px 0 14px')}; |
|
|
|
|
height: 96%; |
|
|
|
|
padding: ${({ hasScroll }) => (hasScroll ? '0 10px 0 14px' : '0 10px 0 14px')}; |
|
|
|
|
max-height: calc(100vh - 130px); |
|
|
|
|
overflow-y: ${({ forVideoTab }) => (forVideoTab ? 'hidden' : 'auto')}; |
|
|
|
|
overflow: ${({ forVideoTab }) => (forVideoTab ? 'hidden' : 'auto')}; |
|
|
|
|
padding-right: ${({ forVideoTab }) => (forVideoTab ? '0' : '')}; |
|
|
|
|
|
|
|
|
|
${customScrollbar} |
|
|
|
|
|