diff --git a/packages/ui/CHANGELOG.md b/packages/ui/CHANGELOG.md index 5e69b99bd89b64..cb5ecac82d3427 100644 --- a/packages/ui/CHANGELOG.md +++ b/packages/ui/CHANGELOG.md @@ -32,6 +32,7 @@ - `Autocomplete.Input`, `Combobox.Input`: Omit the `type` prop, since the combobox role is only valid on `input type="text"` ([#80636](https://github.com/WordPress/gutenberg/pull/80636)). - `Card`: Use the normal neutral surface stroke for the default border. ([#81746](https://github.com/WordPress/gutenberg/pull/81746)) - `Calendar`, `RangeCalendar`: Preserve day focus when a controlled month change removes the focused day. ([#81635](https://github.com/WordPress/gutenberg/pull/81635)) +- `Button`: Fix the loading spinner being off-center in RTL ([#81901](https://github.com/WordPress/gutenberg/pull/81901)). ### Documentation diff --git a/packages/ui/src/button/style.module.css b/packages/ui/src/button/style.module.css index 9cffd960c174e3..fe9ac4c5260291 100644 --- a/packages/ui/src/button/style.module.css +++ b/packages/ui/src/button/style.module.css @@ -115,7 +115,8 @@ content: ""; position: absolute; top: 50%; - inset-inline-start: 50%; + /* stylelint-disable-next-line plugin/use-logical-properties-and-values -- Physical centering technique used with transform: translate(-50%, -50%) */ + left: 50%; transform: translate(-50%, -50%); display: block;