Skip to content

fix(css): force text presentation for arrow characters on Windows#186

Merged
marc0olo merged 1 commit into
mainfrom
infra/fix-arrow-emoji-windows
May 4, 2026
Merged

fix(css): force text presentation for arrow characters on Windows#186
marc0olo merged 1 commit into
mainfrom
infra/fix-arrow-emoji-windows

Conversation

@marc0olo
Copy link
Copy Markdown
Member

@marc0olo marc0olo commented May 4, 2026

Summary

  • Appends Unicode variation selector \fe0e (VS15, text presentation) to and characters used in CSS content pseudo-elements
  • Affects .landing-action-card::after, .landing-action-card[href^="http"]::after, and .sl-link-card:has(a[target="_blank"])::after
  • Prevents Windows browsers from substituting the Segoe UI Emoji colored glyph for these arrow characters

Context

On Windows, (U+2192) and (U+2197) can render as emoji with a colored background via font fallback. The \fe0e selector explicitly requests the monochrome text presentation, which is already the default on macOS.

Sync recommendation

hand-written

Add Unicode variation selector \fe0e (VS15) to arrow characters in CSS
content properties to prevent Windows from rendering them as colored
emoji glyphs via the Segoe UI Emoji fallback font.
@marc0olo marc0olo merged commit 29bbd61 into main May 4, 2026
1 check passed
@marc0olo marc0olo deleted the infra/fix-arrow-emoji-windows branch May 4, 2026 09:00
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.

1 participant