Skip to content

Commit

Permalink
media_query_improve
Browse files Browse the repository at this point in the history
  • Loading branch information
jayesh2474 committed May 11, 2024
1 parent b0c8a18 commit 447b82d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/components/BlogPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,11 @@ padding-top: 10rem;
const Grid = styled.div`
display: grid;
grid-template-columns: repeat(2, minmax(calc(10rem + 15vw), 1fr));
grid-gap: calc(1rem + 2vw);
grid-gap: calc(1rem + 2vw);
@media (max-width: 768px) {
grid-template-columns: 1fr; // Adjust for mobile
}
`

// Framer-motion config
Expand Down

0 comments on commit 447b82d

Please sign in to comment.