All component headings have hover classes even if they are not links

Created on 27 August 2025, 3 days ago

Problem/Motivation

Most (or all?) of the heading elements in the various components have a hover:underline class that, naturally, gives them an underline on hover. But for the most part they aren't links.

Maybe this should be split out per component to decide how to handle them? The CTA component doesn't offer a link option (correctly I think) so this should be simple enough to fix.

But the heading component has an optional URL prop (which confusingly shows 'No URL' if empty -- is this an XB thing?) so in this case, we only want to add the class if there is a link provided.

πŸ› Bug report
Status

Active

Version

1.0

Component

User interface

Created by

πŸ‡¦πŸ‡ΊAustralia pameeela

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024