Skip to content

[release/11.0] Fix Paginator RTL navigation alignment - #70092

Merged
wtgodbe merged 3 commits into
release/11.0from
backport/pr-70049-to-release/11.0
Nov 6, 2026
Merged

wtgodbe merged 3 commits into
release/11.0from
backport/pr-70049-to-release/11.0

Conversation

@github-actions

@github-actions github-actions Bot commented Oct 29, 2026 •

Copy link
Copy Markdown
Contributor

Backport of #70049 to release/11.0

/cc @ilonatommy @snemeckayova

Fix Paginator RTL navigation alignment

Use a logical margin to align Paginator navigation consistently in LTR and RTL.

Description

Replace margin-left: auto with margin-inline-start: auto in the shared Paginator navigation styles.

The physical left margin separates the summary and navigation in LTR, but leaves navigation beside the summary rather than at the opposite edge in RTL. The logical margin keeps the summary at inline-start and navigation at inline-end in either direction.

RTL before:
image

RTL after changes:
image

This applies to both link- and button-based navigation and to standard and custom summaries. Existing LTR layout, navigation order, control labels, and pagination behavior remain unchanged.

Add a unit test checking that the Paginator stylesheet uses the logical margin.

Fixes dotnet/aspnetcore-scenario-tests#154

Customer Impact

Applications using QuickGrid in RTL layouts currently display an inconsistent arrangement: the summary and navigation are grouped together instead of being separated as they are in LTR.

This change provides consistent bidirectional layout without requiring an application-level CSS workaround. It addresses RTL layout consistency.

Why Backport

The affected Paginator styles ship in .NET 11. Backporting provides the same RTL alignment correction to applications using that release.

Regression?

  • Yes
  • No

Addresses existing physical-margin behavior.

Risk

  • High
  • Medium
  • Low

The production change replaces one CSS declaration. In LTR, margin-inline-start resolves to the same left margin as before. In RTL, it moves the automatic margin to the right, placing navigation at the left edge.

Verification

  • Manual (required)
  • Automated

Validation completed for the original fix in #70049.

Packaging changes reviewed?

  • Yes
  • No
  • N/A

No packaging or dependency changes.

* Fix Paginator RTL navigation alignment
@github-actions
github-actions Bot requested a review from a team as a code owner October 29, 2026 16:30
@snemeckayova snemeckayova self-assigned this Oct 30, 2026
@snemeckayova snemeckayova added the Servicing-consider Shiproom approval is required for the issue label Oct 30, 2026
@dotnet-policy-service

Copy link
Copy Markdown
Contributor

Hi @github-actions[bot]. Please make sure you've updated the PR description to use the Shiproom Template. Also, make sure this PR is not marked as a draft and is ready-to-merge.

To learn more about how to prepare a servicing PR click here.

@snemeckayova snemeckayova added feature-accessibility This issue has accessibility impact area-blazor Includes: Blazor, Razor Components feature-blazor-quickgrid labels Oct 30, 2026
@snemeckayova snemeckayova added Servicing-approved Shiproom has approved the issue and removed Servicing-consider Shiproom approval is required for the issue labels Nov 5, 2026
@dotnet-policy-service

Copy link
Copy Markdown
Contributor

Hi @github-actions[bot]. This PR was just approved to be included in the upcoming servicing release. Somebody from the @dotnet/aspnet-build team will get it merged when the branches are open. Until then, please make sure all the CI checks pass and the PR is reviewed.

@wtgodbe
wtgodbe merged commit 1838026 into release/11.0 Nov 6, 2026
31 checks passed
@wtgodbe
wtgodbe deleted the backport/pr-70049-to-release/11.0 branch November 6, 2026 22:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-blazor Includes: Blazor, Razor Components feature-accessibility This issue has accessibility impact feature-blazor-quickgrid Servicing-approved Shiproom has approved the issue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants