Skip to content

Commit

Permalink
fix: update recipes page padding and breakpoints
Browse files Browse the repository at this point in the history
  • Loading branch information
SidonieBouthors committed Jan 15, 2025
1 parent 3e247ce commit 093d24c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/recipes/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ export default async function Recipes() {
const gridFormat: [string, number, number][] = [
["xl", 1200, 4],
["l", 1000, 3],
["m", 400, 2],
["m", 450, 2],
["s", 200, 1],
];
const margin: [number, number] = [15, 15];
const containerPadding: [number, number] = [15, 15];
const containerPadding: [number, number] = [0, 0];

return (
<div className="recipes-page">
Expand Down
5 changes: 5 additions & 0 deletions styles/pages/_recipes.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,9 @@

.recipes-page {
@include wide-content;

padding-bottom: 1em;
@media screen and (max-width: 75rem) {
padding-bottom: 1em;
}
}

0 comments on commit 093d24c

Please sign in to comment.