Skip to content

Conversation

@GeoffDusome
Copy link
Contributor

What does this do/fix?

This pull request updates the interactive card blocks to improve the visual feedback for users by introducing an animated underline effect on card titles when hovered. The implementation standardizes this effect across the Icon Card, Image Card, and Image Overlay Card components, replacing legacy underline styling with a shared animation mixin and updating the markup to support the new visual style.

Animated underline effect implementation:

  • Added the t-animated-underline-hover mixin to the title selectors in _mixins.pcss for icon-card, image-card, and image-overlay-card, enabling the animated underline on hover. [1] [2] [3]
  • Removed legacy underline CSS properties from the title selectors in style.pcss for all three card components to avoid conflicts and ensure only the new animation is applied. [1] [2] [3]

Markup and structure updates:

  • Updated the render templates for icon-card, image-card, and image-overlay-card to wrap the title in a new __title-wrap div and add the t-animated-underline class to the title element, supporting the new animation and improved layout. [1] [2] [3]

Documentation:

  • Updated the CHANGELOG.md to document the addition of the animated underline effect on interactive card block titles.

QA

Links to relevant issues

Screenshots/video:

Copy link
Collaborator

@dpellenwood dpellenwood left a comment

Choose a reason for hiding this comment

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

🟢

@GeoffDusome GeoffDusome added In QA Waiting on QA and removed Needs FE Review labels Jan 27, 2026
@GeoffDusome GeoffDusome merged commit f557d4b into main Jan 29, 2026
7 checks passed
@GeoffDusome GeoffDusome deleted the task/MOOSE-337/interactive-card-hovers branch January 29, 2026 15:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

In QA Waiting on QA Launch Environment Deploys to dokku

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants