Skip to content

fix: event cards animation#417

Open
juanmahidalgo wants to merge 1 commit into
masterfrom
feat/events-card-shifting
Open

fix: event cards animation#417
juanmahidalgo wants to merge 1 commit into
masterfrom
feat/events-card-shifting

Conversation

@juanmahidalgo
Copy link
Copy Markdown
Contributor

No description provided.

@cloudflare-workers-and-pages
Copy link
Copy Markdown

Deploying ui2 with  Cloudflare Pages  Cloudflare Pages

Latest commit: b8e638b
Status: ✅  Deploy successful!
Preview URL: https://9db691ae.ui2-423.pages.dev
Branch Preview URL: https://feat-events-card-shifting.ui2-423.pages.dev

View logs

Copy link
Copy Markdown
Contributor

@decentraland-bot decentraland-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review: fix: event cards animation

Summary

Clean simplification PR — removes hover animations from the EventCard component:

  1. EventCardMedia: Removed the hoverHeight prop and the hover height transition. The image no longer shrinks on hover.
  2. AvatarAndLocationRow: Removed the hover margin-bottom transition that shifted the row down to make room for the Jump In button.
  3. LeftBadge: Added a maxWidth: '70%' constraint on small screens — prevents the badge from overflowing on narrow viewports.

Analysis

  • No bugs or logic issues found.
  • JUMP_IN_BUTTON_HEIGHT constant is still used for the JumpInButton height (line 297), so no dead code introduced.
  • hoverHeight prop removed from the styled component type — clean, no leftover references.
  • The responsive breakpoint addition on LeftBadge is a nice touch for mobile.

Security

No security issues found. Pure styling changes with no user input, APIs, or data handling involved.

CI

All checks passing ✅

LGTM 👍

Requested by Juan Manuel Hidalgo via Slack

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.

2 participants