Use stylelint on styled-components

This commit is contained in:
Aarni Halinen
2020-12-28 22:40:04 +02:00
parent 23973c2865
commit c55ddf81eb
6 changed files with 1279 additions and 320 deletions
+8 -8
View File
@@ -4,6 +4,14 @@ import Anchor from "../Anchor";
import colors from "@theme/colors";
import breakpoints from "@theme/breakpoints";
const Columns = styled.div`
display: flex;
justify-content: space-between;
& > div > div {
margin-bottom: 1rem;
}
`;
const Content = styled.div`
display: flex;
@@ -46,14 +54,6 @@ const MarginSpace = styled.div`
margin: auto;
`;
const Columns = styled.div`
display: flex;
justify-content: space-between;
& > div > div {
margin-bottom: 1rem;
}
`;
const Map = styled.div`
flex: 1;
@media screen and (max-width: ${breakpoints.mobile}) {
+2 -1
View File
@@ -41,7 +41,8 @@ const SponsorReel = styled.div`
margin: 0 1rem;
}
}
img{
img {
width: 200px;
object-fit: cover;
}