Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Workshops
Developer workshop
Commits
738f687d
Commit
738f687d
authored
Sep 16, 2020
by
Jon Moore
Browse files
Update BlogListing.styled.js
parent
9cf79605
Pipeline
#39496
passed with stage
in 3 minutes and 33 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/app/features/blogListing/components.styled/BlogListing.styled.js
View file @
738f687d
...
...
@@ -5,6 +5,7 @@ const BlogListingStyled = styled.div`
return
css
`
display: flex;
flex-wrap: wrap;
justify-content: space-between;
width: 100%;
max-width: 1200px;
margin: 30px auto;
...
...
@@ -18,23 +19,12 @@ const BlogListingStyled = styled.div`
margin: 20px;
@media only screen and (min-width: 550px) {
margin: 0;
margin-right: 28px;
width: calc(50% - 15px);
&:nth-child(2n) {
margin-right: 0;
}
}
@media only screen and (min-width: 1100px) {
margin: 0;
margin-right: 28px;
width: calc(33% - 15px);
&:nth-child(2n) {
margin-right: 28px;
}
&:nth-child(3n) {
margin-right: 0;
}
}
p {
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment