Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Fix source code page sidebar on mobile #91905

Merged
merged 2 commits into from
Dec 15, 2021

Conversation

GuillaumeGomez
Copy link
Member

Current broken behaviour:

Peek.2021-12-14.11-35.mp4

Fixed:

Peek.2021-12-14.11-49.mp4

r? @jsha

@GuillaumeGomez GuillaumeGomez added T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. A-rustdoc-ui Area: Rustdoc UI (generated HTML) labels Dec 14, 2021
@rust-highfive
Copy link
Collaborator

Some changes occurred in HTML/CSS/JS.

cc @GuillaumeGomez

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Dec 14, 2021
@GuillaumeGomez GuillaumeGomez force-pushed the source-code-page-sidebar branch from 51970f1 to 0919d00 Compare December 14, 2021 10:50
@camelid
Copy link
Member

camelid commented Dec 14, 2021

I'm unclear what the issue is. The sidebar works for me in Firefox/macOS. Could you elaborate on what's not working?

@camelid camelid changed the title Source code page sidebar Fix source code page sidebar Dec 14, 2021
@GuillaumeGomez
Copy link
Member Author

Reduce the width of the windows under 700px to have the "mobile mode". Then you'll have just like the first video. :)

@jsha
Copy link
Contributor

jsha commented Dec 15, 2021

I can reproduce on Chrome / Linux by reducing the width of my window under 700px. Clicking the "expand sidebar" icon causes the icon to disappear without actually expanding the sidebar.

@camelid camelid changed the title Fix source code page sidebar Fix source code page sidebar on mobile Dec 15, 2021
@jsha
Copy link
Contributor

jsha commented Dec 15, 2021

@bors r+ rollup

@bors
Copy link
Contributor

bors commented Dec 15, 2021

📌 Commit 0919d00 has been approved by jsha

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Dec 15, 2021
bors added a commit to rust-lang-ci/rust that referenced this pull request Dec 15, 2021
…askrgr

Rollup of 7 pull requests

Successful merges:

 - rust-lang#90521 (Stabilize `destructuring_assignment`)
 - rust-lang#91479 (Add `[T]::as_simd(_mut)`)
 - rust-lang#91584 (Improve code for rustdoc-gui tester)
 - rust-lang#91886 (core: minor `Option` doc correction)
 - rust-lang#91888 (Handle unordered const/ty generics for object lifetime defaults)
 - rust-lang#91905 (Fix source code page sidebar on mobile)
 - rust-lang#91906 (Removed `in_band_lifetimes` from `library\proc_macro`)

Failed merges:

r? `@ghost`
`@rustbot` modify labels: rollup
@bors bors merged commit 6132a2b into rust-lang:master Dec 15, 2021
@rustbot rustbot added this to the 1.59.0 milestone Dec 15, 2021
@GuillaumeGomez GuillaumeGomez deleted the source-code-page-sidebar branch December 15, 2021 12:55
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
A-rustdoc-ui Area: Rustdoc UI (generated HTML) S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants