fixed FloatingButton component
This commit is contained in:
parent
c080e352b0
commit
5b8880d484
@ -67,7 +67,7 @@ const FloatingButton = (props) => {
|
||||
}, [percent, setAnimationCompleted]);
|
||||
|
||||
return (
|
||||
<StyledFloatingButtonWrapper>
|
||||
<StyledFloatingButtonWrapper className="layout-progress-bar_wrapper">
|
||||
<ColorTheme
|
||||
{...props}
|
||||
themeId={ThemeType.FloatingButton}
|
||||
|
@ -24,7 +24,7 @@ const StyledFloatingButtonWrapper = styled.div`
|
||||
right: 77px;
|
||||
bottom: 33px;
|
||||
}
|
||||
:hover {
|
||||
&:hover {
|
||||
.layout-progress-bar_close-icon {
|
||||
display: block;
|
||||
}
|
||||
|
@ -73,6 +73,12 @@ const StyledSectionContainer = styled.section`
|
||||
max-width: 100vw !important;
|
||||
`}
|
||||
|
||||
.layout-progress-bar_wrapper {
|
||||
position: fixed;
|
||||
right: ${(props) =>
|
||||
props.isInfoPanelVisible && !isMobile ? "424px" : "24px"};
|
||||
}
|
||||
|
||||
.layout-progress-bar {
|
||||
position: fixed;
|
||||
right: ${(props) =>
|
||||
|
Loading…
Reference in New Issue
Block a user