Web: Common: fixed transition

This commit is contained in:
Dmitry Sychugov 2022-03-14 15:43:42 +05:00
parent c35bb972c3
commit 35f3111bcb

View File

@ -30,11 +30,11 @@ const StyledSection = styled.section`
.main-bar--hidden {
${isMobile &&
css`
transition: top 0.3s cubic-bezier(0, 0, 0.8, 1);
-moz-transition: top 0.3s cubic-bezier(0, 0, 0.8, 1);
-ms-transition: top 0.3s cubic-bezier(0, 0, 0.8, 1);
-webkit-transition: top 0.3s cubic-bezier(0, 0, 0.8, 1);
-o-transition: top 0.3s cubic-bezier(0, 0, 0.8, 1);
transition: top 0.3s cubic-bezier(0, 0, 0.5, 1);
-moz-transition: top 0.3s cubic-bezier(0, 0, 0.5, 1);
-ms-transition: top 0.3s cubic-bezier(0, 0, 0.5, 1);
-webkit-transition: top 0.3s cubic-bezier(0, 0, 0.5, 1);
-o-transition: top 0.3s cubic-bezier(0, 0, 0.5, 1);
`}
}
.main-bar--hidden {