style(#2248): fix scroll in registration page and personal info page

keep-around/75b48540712f4febe8d0dbb3182f7cfe2b5b7785
Andrei Dekterev 4 years ago
parent bb75dd1c73
commit 75b4854071
  1. 2
      src/features/AuthServiceApp/components/App/index.tsx
  2. 5
      src/features/UserAccount/styled.tsx

@ -26,9 +26,7 @@ const Main = styled.main`
${isMobileDevice
? css`
padding: 0 12px;
@media screen and (orientation: landscape){
max-height: 100vh;
}
`
: ''};
`

@ -95,6 +95,8 @@ export const ContentWrapper = styled.div`
${isMobileDevice
? css`
margin-top: 10px;
min-height: 100vh;
overflow-y: auto;
@media (orientation: landscape){
margin-top: 0;
padding-left: 28px;
@ -129,6 +131,9 @@ export const Body = styled.div`
${isMobileDevice
? css`
width: 100%;
overflow-y: auto;
min-height: 100vh;
@media (orientation: landscape){
flex-direction: row;
height: auto;

Loading…
Cancel
Save