Repository navigation
fix(rtl): use logical spacing and alignment on web - #5291
EnesKartal wants to merge 3 commits into
Conversation
|
Found potential problems with the pull request:
|
There was a problem hiding this comment.
Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.
An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.
|
Thanks! This goes into 6.0. Before review:
|
There was a problem hiding this comment.
Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.
An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.
db10af1 to
6acfb18
Compare
There was a problem hiding this comment.
Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.
An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.
There was a problem hiding this comment.
Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.
An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.
…ion, Appbar.Content, List.Item, and TextInput
7bd433c to
689329e
Compare
There was a problem hiding this comment.
Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.
An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.
Fixes #5283
Summary
Replaced physical left/right spacing and alignment with logical properties so RTL layout on web matches native:
Menu.Item(src/components/Menu/MenuItem.tsx):marginLeft->marginStartonmd3LeadingIconandmd3WithoutLeadingIcon.Drawer.Section(src/components/Drawer/DrawerSection.tsx):marginLeft->marginStartontitle.Appbar.Content(src/components/Appbar/AppbarContent.tsx):marginLeft->marginStartoncontainer.List.Item(src/components/List/ListItem.tsx):paddingLeft->paddingStartonindentanditem.TextInput(src/components/TextInput/styles.ts): removed hardcodedtextAlign: 'left'onsupportingText.Test Plan
npx eslint(0 errors) andnpx jestacrossMenu.test.tsx,DrawerSection.test.tsx,Appbar.test.tsx,ListItem.test.tsx, andTextInput.test.tsx(updated 11 snapshots forpaddingStart/marginStart; 113/113 tests passed).