[PR #13894] fix(website): fix site in safari 18 #14858

Closed
opened 2026-02-16 18:19:36 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/13894

State: closed
Merged: Yes


What does this PR do?

The website is broken in Safari 18:

Screenshot 2026-02-16 at 3 18 01 PM

Looks like there's a bug in Safari with the input:-moz-autofill rule (or any pseudo-selector it doesn't recognize) where it breaks all styles after that. It's like is breaks the parser at that point. Move these styles to the bottom fixes it. (This is fixed in later versions of Safari)

Given that Safari 18 is Sequoia 15 which is only 1 version back from latest (a brief search shows ~1-2% market share) seems like it's worth fixing

How did you verify your code works?

I loaded it locally, did the fix, and now it works:

Screenshot 2026-02-16 at 4 41 30 PM
**Original Pull Request:** https://github.com/anomalyco/opencode/pull/13894 **State:** closed **Merged:** Yes --- ### What does this PR do? The website is broken in Safari 18: <img width="2224" height="1444" alt="Screenshot 2026-02-16 at 3 18 01 PM" src="https://github.com/user-attachments/assets/40f4fb4c-c7aa-4a78-82aa-ab87d723a4fa" /> Looks like there's a bug in Safari with the `input:-moz-autofill` rule (or any pseudo-selector it doesn't recognize) where it breaks all styles after that. It's like is breaks the parser at that point. Move these styles to the bottom fixes it. (This is fixed in later versions of Safari) Given that Safari 18 is Sequoia 15 which is only 1 version back from latest (a brief search shows ~1-2% market share) seems like it's worth fixing ### How did you verify your code works? I loaded it locally, did the fix, and now it works: <img width="3070" height="1598" alt="Screenshot 2026-02-16 at 4 41 30 PM" src="https://github.com/user-attachments/assets/c8e519ce-6196-44a8-a811-3dc966af19ad" />
yindo added the pull-request label 2026-02-16 18:19:36 -05:00
yindo closed this issue 2026-02-16 18:19:36 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#14858