dotnet / dotnet/aspnetcore

[Blazor] Quickgrid globalization improvements

Open
#62,770 0 comments 0 reactions 0 assignees View on GitHub
area-blazor
Dominant language
C#
Stars
38.4k
Forks
10.9k
Avg merge
2d 6h
Merged PRs (30d)
290

Description

Looking at the Quickgrid CSS there are a few things that we can improve based on new CSS functionality.
* Replace the manual RTL selectors (e.g., html[dir=rtl]) with the :dir() pseudo-class for direction-sensitive styling.
* Example: Change html[dir=rtl] td.col-justify-end to td.col-justify-end:dir(rtl).
* Example: Change html[dir=rtl] .col-options to .col-options:dir(rtl).
* Use logical properties instead of physical ones for margin, padding, border, and position.
* Example: Replace left/right with inset-inline-start/inset-inline-end or margin-inline-start/margin-inline-end where applicable (e.g., .col-options, .col-justify-end).
* Example: Use text-align: end instead of text-align: right and text-align: start instead of text-align: left for alignment.* Improve testing for right to left languages.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.