Skip to content

fix(skip-link): align caret icon inside skip link panel#2326

Open
rheisler-deque wants to merge 1 commit intodevelopfrom
fix/skip-link-caret-alignment
Open

fix(skip-link): align caret icon inside skip link panel#2326
rheisler-deque wants to merge 1 commit intodevelopfrom
fix/skip-link-caret-alignment

Conversation

@rheisler-deque
Copy link
Copy Markdown

Summary

  • The .SkipLink span CSS selector was too broad — it matched the Icon component's <span> wrapper and overrode its display: inline-block to display: block, pushing the triangle-right caret onto its own line below the skip link panel.
  • Narrowed the selector to .SkipLink .SkipLink__item--first, .SkipLink .SkipLink__item--second so only the SkipLink's own text spans are targeted.

Closes: #2276

The broad `.SkipLink span` selector was overriding the Icon component's
`display: inline-block` to `display: block`, pushing the triangle-right
caret onto its own line below the skip link panel. Narrow the selector
to only target the SkipLink's own `__item` spans.
@rheisler-deque rheisler-deque marked this pull request as ready for review April 16, 2026 21:15
@rheisler-deque rheisler-deque requested a review from a team as a code owner April 16, 2026 21:15
@aws-amplify-us-east-1
Copy link
Copy Markdown

This pull request is automatically being deployed by Amplify Hosting (learn more).

Access this pull request here: https://pr-2326.d15792l1n26ww3.amplifyapp.com

Copy link
Copy Markdown
Contributor

@Bracciata Bracciata left a comment

Choose a reason for hiding this comment

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

LGTM! I kind of expected to see a screenshot change required. May be worth looking in to

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.

Bug: Skip Link Carrot is misaligned

3 participants