Skip to content

API pages: show the feedback prompt last on mobile - #4492

Merged
reakaleek merged 2 commits into
mainfrom
mobile-helpful-feedback-b-91b25881
Oct 19, 2026
Merged

reakaleek merged 2 commits into
mainfrom
mobile-helpful-feedback-b-91b25881

Conversation

@reakaleek

Copy link
Copy Markdown
Member

Why

  • On narrow screens, "Was this helpful?" appeared between the reference and the examples on API pages. It belongs at the end of the page.

What

  • Render the feedback prompt after the right rail, so it is the last block below 1024px.
  • From 1024px, keep it under the article in the left column, as before.

Notes

  • The feedback prompt moves from <main> to the end of .api-page-grid. A two-row grid keeps it under the article on desktop while the rail spans both rows.
  • Not yet checked in a browser at mobile and desktop widths.

🤖 Generated with Claude Code

Below 1024px the feedback prompt sat between the reference and the examples. It now follows the right rail, so it is the last block on the page. From 1024px it stays under the article.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@reakaleek
reakaleek requested a review from a team as a code owner October 16, 2026 11:51
@reakaleek reakaleek added the fix label Oct 16, 2026
@reakaleek
reakaleek requested a review from akira28 October 16, 2026 11:51
Auto-placement already puts the article and the feedback prompt in the left column once the rail spans both rows.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@github-actions

Copy link
Copy Markdown
Contributor

@reakaleek
reakaleek merged commit 396bbf5 into main Oct 19, 2026
32 checks passed
@reakaleek
reakaleek deleted the mobile-helpful-feedback-b-91b25881 branch October 19, 2026 09:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant