fix: warnings

This commit is contained in:
2021-01-21 22:06:31 +00:00
parent 3e5c6b16a0
commit d33bc993ad
4 changed files with 12 additions and 59 deletions

View File

@@ -9,7 +9,7 @@ const Container = styled.div`
margin: 0 calc(var(--spacing-x-xs) * -1) var(--spacing-y-sm);
@media (max-width: 30em) {
&:nth-child(even) {
&:nth-of-type(even) {
flex-direction: row-reverse;
}
}
@@ -35,7 +35,7 @@ const Link = styled(GatsbyLink)`
}
@media (max-width: 30em) {
&:nth-child(even) ${Container} {
&:nth-of-type(even) ${Container} {
flex-direction: row-reverse;
}
}