style(#in672): fixed styles for user profile wide screens

pull/238/head
Farber Denis 3 years ago
parent 767d7794c3
commit d9bd7e68fa
  1. 12
      src/features/Common/Input/styled.tsx
  2. 2
      src/features/UserAccount/components/PersonalInfoForm/index.tsx
  3. 4
      src/features/UserAccount/components/PersonalInfoForm/styled.tsx

@ -34,6 +34,10 @@ export const wrapperStyles = css<WrapperProps>`
padding-left: 0; padding-left: 0;
` `
: ''}; : ''};
@media (min-width: 1921px) {
padding-left: 24px;
}
` `
type TitleProps = { type TitleProps = {
@ -55,8 +59,8 @@ export const LabelTitle = styled.p<TitleProps>`
letter-spacing: -0.01em; letter-spacing: -0.01em;
padding-top: 2px; padding-top: 2px;
color: ${({ theme: { colors } }) => colors.secondary}; color: ${({ theme: { colors } }) => colors.secondary};
width: ${({ labelWidth }) => (labelWidth ? `${labelWidth}px` : '')}; width: ${({ labelWidth }) => (labelWidth ? `${labelWidth}rem` : '')};
min-width: ${({ labelWidth }) => (labelWidth ? `${labelWidth}px` : '')}; min-width: ${({ labelWidth }) => (labelWidth ? `${labelWidth}rem` : '')};
&:hover{ &:hover{
.Highlight__Tooltip { .Highlight__Tooltip {
@ -168,6 +172,10 @@ export const Column = styled.div<ColumnProps>`
} }
` `
: ''} : ''}
@media (min-width: 1921px) {
max-width: 560px;
}
` `
type ErrorProps = { type ErrorProps = {

@ -19,7 +19,7 @@ import {
PrivacyWrapper, PrivacyWrapper,
} from './styled' } from './styled'
const labelWidth = 76 const labelWidth = 4.75
const { const {
email, email,

@ -60,6 +60,10 @@ export const ButtonWrapper = styled.div`
${isMobileDevice ? css` ${isMobileDevice ? css`
flex-direction: column; flex-direction: column;
` : ''} ` : ''}
@media (min-width: 1921px) {
flex-direction: row;
}
` `
export const PrivacyPolicyLink = styled.a` export const PrivacyPolicyLink = styled.a`

Loading…
Cancel
Save