fix(fuselage): ButtonGroup margin spacing in RTL mode#1852
fix(fuselage): ButtonGroup margin spacing in RTL mode#1852Anshumancanrock wants to merge 2 commits intoRocketChat:mainfrom
Conversation
🦋 Changeset detectedLatest commit: 843bd49 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
|
1 similar comment
|
|
|
hey @Anshumancanrock ! |
Fixed
ButtonGroupRTL spacing by adding explicit[dir='rtl']overrides for first and last child margins. The postcss-logical plugin was converting CSS logical properties to physical properties (margin-left/right) without generating proper RTL fallback rules, causing incorrect spacing in RTL layouts.Closes #1851
Steps to test or reproduce
Before fix:
After fix: