Skip to content

Fix alignment of rtl elements with auto width and set min/max-width#2699

Merged
liZe merged 2 commits intomainfrom
rtl-margin
Mar 13, 2026
Merged

Fix alignment of rtl elements with auto width and set min/max-width#2699
liZe merged 2 commits intomainfrom
rtl-margin

Conversation

@liZe
Copy link
Member

@liZe liZe commented Mar 12, 2026

The previous implementation was relying on the width to set margins, but then altered the width to follow min/max properties.

The new implementation takes care of min/max internally, so that it can set margin values that respect min/max.

Fix #2698.

liZe added 2 commits March 12, 2026 14:27
The previous implementation was relying on the width to set margins, but then altered
the width to follow min/max properties.

The new implementation takes care of min/max internally, so that it can set margin
values that respect min/max.

Fix #2698.
@liZe liZe added this to the 69.0 milestone Mar 12, 2026
@liZe liZe added the bug Existing features not working as expected label Mar 12, 2026
@liZe liZe merged commit c94ec34 into main Mar 13, 2026
17 checks passed
@liZe liZe deleted the rtl-margin branch March 13, 2026 14:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Existing features not working as expected

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Wrong alignment of absolutely positioned right-to-left elements with min-/max-width

1 participant