Skip to content

Commit

Permalink
fix: header padding (#36)
Browse files Browse the repository at this point in the history
* fix: build and runtime secrets I guess

* fix: broken padding when field-size is set
  • Loading branch information
lewxdev authored Aug 27, 2024
1 parent e0c29cb commit ee84890
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/fly-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,6 @@ jobs:
uses: lewxdev/fly-pr-review-apps@main
with:
build_secrets: BASE_URL=https://${{ env.FLY_APP }}.fly.dev
secrets: REDIS_URL=${{ secrets.REDIS_URL }}
secrets: |
BASE_URL=https://${{ env.FLY_APP }}.fly.dev
REDIS_URL=${{ secrets.REDIS_URL }}
2 changes: 1 addition & 1 deletion app/components/field.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export function Field() {
useEffect(() => {
document.documentElement.style.setProperty(
"--field-size",
size ? `${size * GRID_SIZE + (size - 1) * GAP_SIZE}rem` : "100%",
size ? `${size * GRID_SIZE + (size - 1) * GAP_SIZE + 2}rem` : "100%",
);
}, [size]);

Expand Down

0 comments on commit ee84890

Please sign in to comment.