Skip to content

Keep the API page feedback prompt in the article column - #4821

Merged
reakaleek merged 1 commit into
mainfrom
remove-feedback-min-width-0a7fd7d9
Nov 12, 2026
Merged

reakaleek merged 1 commit into
mainfrom
remove-feedback-min-width-0a7fd7d9

Conversation

@reakaleek

@reakaleek reakaleek commented Nov 11, 2026 •

Copy link
Copy Markdown
Member

On API pages at 1024px and wider, the "Was this page helpful?" prompt now ends the article column. It no longer stretches under the examples rail.

Affects: Site UI, API reference

Prompt summary: The feedback prompt on API pages looks like it has a minimum width that makes it span the whole page width. The ask is to remove that so the prompt stops spanning the full width.

Why

The stretch comes from the grid, not a min-width. The page-feedback element spans both columns of .api-page-grid, so its top border runs under the examples rail. On long endpoint pages the sticky rail stays in view at the bottom of the page and overlaps the right end of that border.

What

Feedback in the article column

The feedback rule in api-docs.css places the prompt in column 1 instead of 1 / -1, still in row 2. The rail occupies row 1 only, so row 1 is at least as tall as the rail. The prompt therefore still starts below the rail, which keeps the behaviour from #4525. Below 1024px the grid has one column and nothing changes.

Verify

mise run serve

Open an API group page and an API operation page at a width of 1024px or more, then scroll to the bottom. The border above the prompt ends at the article's right edge.

Check on the preview

On wide screens the prompt spanned both grid columns. Its top border ran under the examples rail, and on long endpoint pages the sticky rail overlapped it. The rail already sits in row 1 only, so the prompt in row 2 stays below the rail without the span.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@reakaleek
reakaleek requested a review from a team as a code owner November 11, 2026 15:51
@reakaleek reakaleek added the bug label Nov 11, 2026
@reakaleek
reakaleek requested a review from Mpdreamz November 11, 2026 15:51
@github-actions

Copy link
Copy Markdown
Contributor

Docs preview (local build)

Handbook preview: https://docs-v3-preview.elastic.dev/elastic/docs-builder/pull/4821/

@reakaleek
reakaleek merged commit c5371a5 into main Nov 12, 2026
48 checks passed
@reakaleek
reakaleek deleted the remove-feedback-min-width-0a7fd7d9 branch November 12, 2026 08:16
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