|
|
|
|
@ -51,21 +51,9 @@ export const LabelTitle = styled.p<TitleProps>` |
|
|
|
|
width: ${({ labelWidth }) => (labelWidth ? `${labelWidth}px` : '')}; |
|
|
|
|
min-width: ${({ labelWidth }) => (labelWidth ? `${labelWidth}px` : '')}; |
|
|
|
|
|
|
|
|
|
@media ${devices.laptop} { |
|
|
|
|
${({ isUserAccountPage }) => (!isUserAccountPage |
|
|
|
|
? css` |
|
|
|
|
` |
|
|
|
|
: '')} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@media ${devices.tablet} { |
|
|
|
|
font-size: 1.6rem; |
|
|
|
|
width: 9rem; |
|
|
|
|
${({ isUserAccountPage }) => (isUserAccountPage |
|
|
|
|
? css` |
|
|
|
|
display: none; |
|
|
|
|
` |
|
|
|
|
: '')} |
|
|
|
|
} |
|
|
|
|
${isMobileDevice |
|
|
|
|
? css` |
|
|
|
|
@ -142,28 +130,19 @@ type ColumnProps = { |
|
|
|
|
export const Column = styled.div<ColumnProps>` |
|
|
|
|
width: 100%; |
|
|
|
|
display: flex; |
|
|
|
|
flex-direction: column; |
|
|
|
|
|
|
|
|
|
@media ${devices.laptop} { |
|
|
|
|
${({ isUserAccountPage }) => (!isUserAccountPage |
|
|
|
|
flex-direction: column;
|
|
|
|
|
${({ isUserAccountPage }) => (isUserAccountPage |
|
|
|
|
? css` |
|
|
|
|
width: 100%; |
|
|
|
|
max-width: 560px; |
|
|
|
|
` |
|
|
|
|
: '')} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@media ${devices.tablet} { |
|
|
|
|
${({ isUserAccountPage }) => (isUserAccountPage |
|
|
|
|
? css` |
|
|
|
|
max-width: 415px; |
|
|
|
|
max-width: 100%; |
|
|
|
|
` |
|
|
|
|
: css` |
|
|
|
|
width: 100%;`)}
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@media ${devices.mobile} { |
|
|
|
|
width: 100%; |
|
|
|
|
position: relative; |
|
|
|
|
: '')} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
${isMobileDevice |
|
|
|
|
|