fix stylelint

This commit is contained in:
Aarni Halinen
2021-06-03 02:25:35 +03:00
parent fa4ae2c812
commit c330a21f59
36 changed files with 151 additions and 99 deletions
+1 -2
View File
@@ -11,6 +11,7 @@ import BlockScroll from "./BlockScroll";
const StyledHeader = styled.header`
display: flex;
flex-flow: row nowrap;
@media screen and (max-width: ${breakpoints.mobile}) {
flex-flow: column nowrap;
}
@@ -20,11 +21,9 @@ const Sticky = styled.div<{ $isHidden?: boolean; $mobileMenuOpen?: boolean }>`
position: sticky;
top: 0;
z-index: 10;
padding: 0 1rem;
background-color: ${colors.darkBlue};
transition: all 200ms ease-out;
height: ${(p) => (p.$mobileMenuOpen ? "100vh" : "unset")};
${(p) => (p.$isHidden ? (`