Web: PreparationPortal: Fixed position of image on mobile.

This commit is contained in:
Tatiana Lopaeva 2022-03-18 15:34:13 +03:00
parent c61df3290c
commit e99b63c443
2 changed files with 6 additions and 0 deletions

View File

@ -57,6 +57,7 @@ class PreparationPortal extends React.Component {
}
componentWillUnmount() {
clearInterval(this.timerId);
clearInterval(this.progressTimerId);
}
progressInitiationFirstBound = () => {

View File

@ -1,4 +1,5 @@
import styled from "styled-components";
import { isMobile } from "react-device-detect";
const StyledBodyPreparationPortal = styled.div`
margin-bottom: 24px;
@ -36,6 +37,10 @@ const StyledBodyPreparationPortal = styled.div`
const StyledPreparationPortal = styled.div`
width: 100%;
${isMobile &&
`
margin-top: 48px;
`}
#header {
font-size: 23px;