Repository navigation
[release/11.0] Fix Paginator RTL navigation alignment - #70092
Merged
Merged
Conversation
* Fix Paginator RTL navigation alignment
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
temporarily deployed
to
copilot-pat-pool
October 30, 2026 08:46 — with
GitHub Actions
Inactive
snemeckayova
temporarily deployed
to
copilot-pat-pool
October 30, 2026 08:46 — with
GitHub Actions
Inactive
ilonatommy
approved these changes
Oct 30, 2026
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. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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: autowithmargin-inline-start: autoin 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:

RTL after changes:

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?
Addresses existing physical-margin behavior.
Risk
The production change replaces one CSS declaration. In LTR,
margin-inline-startresolves to the same left margin as before. In RTL, it moves the automatic margin to the right, placing navigation at the left edge.Verification
Validation completed for the original fix in #70049.
Packaging changes reviewed?
No packaging or dependency changes.