Web: Client: IndicatorLoader: fix position
This commit is contained in:
parent
8152557397
commit
86337271e4
@ -1,11 +1,12 @@
|
||||
import React from "react";
|
||||
import styled from "styled-components";
|
||||
import styled, { css } from "styled-components";
|
||||
import { isMobileOnly } from "react-device-detect";
|
||||
|
||||
const StyledWrapper = styled.div`
|
||||
#ipl-progress-indicator {
|
||||
position: fixed;
|
||||
z-index: 390;
|
||||
top: ${(props) => (props.isDesktop ? "0" : "48px")};
|
||||
top: 0;
|
||||
left: -6px;
|
||||
width: 0%;
|
||||
height: 3px;
|
||||
@ -13,6 +14,11 @@ const StyledWrapper = styled.div`
|
||||
-moz-border-radius: 1px;
|
||||
-webkit-border-radius: 1px;
|
||||
border-radius: 1px;
|
||||
|
||||
${isMobileOnly &&
|
||||
css`
|
||||
top: 48px;
|
||||
`}
|
||||
}
|
||||
`;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user