Skip to content

Conversation

@Urgau
Copy link
Member

@Urgau Urgau commented Dec 16, 2025

Seems like the layout changes in #2235, broke our "small viewport" (aka mobile) detection.

Let's fix that by using window.outerWidth instead of window.innerWidth.

Interestingly I can only reproduce the issue on Firefox desktop if I use the "Adaptive view". Reducing the window size doesn't suffice.

@Urgau Urgau requested a review from Kobzol December 16, 2025 18:28
@Kobzol Kobzol added this pull request to the merge queue Dec 16, 2025
Merged via the queue into rust-lang:master with commit bd29e3e Dec 16, 2025
3 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