Skip to content

Fix team card blurb overflow and stripe z-index#14

Merged
nchalla3 merged 3 commits intoformulaslug:mainfrom
nchalla3:team-graphic-fix
Feb 24, 2026
Merged

Fix team card blurb overflow and stripe z-index#14
nchalla3 merged 3 commits intoformulaslug:mainfrom
nchalla3:team-graphic-fix

Conversation

@nchalla3
Copy link
Contributor

@nchalla3 nchalla3 commented Feb 24, 2026

Summary

  • Removes mt-10 from the blurb h1 inside the subteam card flip side — this margin was pushing text down past the card boundary in a flex items-center container
  • Adds relative z-10 to the blurb h1 so it renders above the absolute-positioned stripe decorations, which were painting on top of the text (affected Outreach, HV, Ergo, Manufacturing, Suspension)
  • Fixes CI workflow to gate preview deploys on a step output instead of secrets.* in if: conditions, which GitHub Actions does not support

Closes #9

Test plan

  • Hover/tap subteam cards and verify blurb text is fully visible and not cut off at the bottom
  • Verify the yellow/blue stripe decorations animate behind the blurb text, not over it
  • Check cards with longer blurbs (Outreach, Suspension, Software) specifically

🤖 Generated with Claude Code

nchalla3 and others added 3 commits February 23, 2026 18:16
Two bugs on the team page subteam cards:
- Blurb text falling off the bottom: caused by mt-10 on the h1 inside a
  flex items-center container, which pushed the text below the card boundary.
  Removed the margin.
- Stripe decoration cutting off blurb text: the absolute-positioned stripe
  divs paint after normal block elements in CSS stacking order, rendering
  on top of the blurb h1. Fixed by adding relative z-10 to the h1 so it
  always renders above the stripe layer.

Closes formulaslug#9

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
The deploy condition only checked for fork PRs, but push events to a fork
repo also lack secrets. Replaced the event-based fork check with a direct
secrets.FIREBASE_TOKEN != '' guard, which correctly skips the preview deploy
in any context where secrets are unavailable (fork repos, fork PRs, or
unconfigured repos) and shows an explanatory notice instead of failing.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…crets context

secrets.* is not available as an if: condition context in GitHub Actions steps.
Replace the secrets check with a dedicated 'Check Firebase credentials' step
that reads the token via env and writes available=true/false to its output.
Subsequent deploy steps gate on steps.creds.outputs.available == 'true'.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@nchalla3 nchalla3 merged commit 7af017f into formulaslug:main Feb 24, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fix team page

1 participant