Skip to content

Limit external-link icons to text links - #388

Merged
pelikhan merged 1 commit into
mainfrom
copilot/update-css-external-links
Aug 31, 2026
Merged

Limit external-link icons to text links#388
pelikhan merged 1 commit into
mainfrom
copilot/update-css-external-links

Conversation

Copilot AI commented Aug 31, 2026

Copy link
Copy Markdown
Contributor

External URL styling added a trailing icon to button-like controls. This made controls such as Refresh and icon-only repository links appear as ordinary external links.

  • CSS
    • Limit generated external-link icons to anchors without existing UI icons.
    • Preserve explicit external-link icons.
a[href^="https://"]:not(:has(.octicon))::after
  • Regression coverage
    • Verify text links retain the icon.
    • Verify Refresh and icon-based controls do not receive it.

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot AI requested a review from pelikhan August 31, 2026 23:40
@pelikhan
pelikhan marked this pull request as ready for review August 31, 2026 23:41
@pelikhan
pelikhan merged commit 1f091ef into main Aug 31, 2026
2 checks passed
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