Skip to content

csspart not working for cta hyperlink #324

Description

@Eliza-Huang

What browser client(s) are you seeing the issue on?

  • Firefox
  • Chrome
  • Safari
  • Microsoft Edge

What devices platform(s) are you seeing the issue on?

  • Desktop
  • Mobile

Steps to reproduce

  1. Create an auro-hyperlink with type cta
  2. Style the csspart
  3. See that the css in the csspart doesn't apply to the hyperlink

If we remove the type cta, then the csspart styles do apply correctly to the auro-hyperlink.

See on the auro-docsite, changing one of the hyperlinks to type cta removes the additional styling.
Image

Expected behavior

The css being applied to the csspart works.

Which version of auro-hyperlink do you have installed?

8.0.0
(this worked in earlier versions of auro-hyperlink that didn't use auro-hyperlink-button)

Reproducible on the Auro doc site

Exit criteria (To be determined by the Auro team)

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions