Skip to content

Commit

Permalink
Fixed with of article card summary
Browse files Browse the repository at this point in the history
- Now min of 55dvw and 1000px
- Previously just 55dvw
  • Loading branch information
hgreenstein committed Dec 15, 2023
1 parent 1eef17f commit 6927460
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion client/src/components/Blog/Landing.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ function Landing() {
return (
<section id="landing">
<h1 className="blog-title">
Blog
Articles
</h1>
{articles.map((article, index) => (
<BlogArticleItem
Expand Down
2 changes: 1 addition & 1 deletion client/src/components/Blog/blog.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
@media screen and (min-width: 1300px){
.blog-article-content{
max-width: 55dvw;
max-width: min(55dvw, 1000px);
}
}
@media screen and (min-width: 1024px) and (max-width: 1300px){
Expand Down

0 comments on commit 6927460

Please sign in to comment.