Skip to content

Commit

Permalink
fix(react-query-devtools): add direction style (#4283)
Browse files Browse the repository at this point in the history
* fix(devTools styles): add direction style

Add dir="ltr" to devtools panel beacause the devtools appear inverted when direction of a parent is rtl

Fixes #4282

* fix(devTools styles): Run changes through prettier

Missing space caused CI check to fail

Fixes #4282
  • Loading branch information
Omar-Awawdeh authored Oct 8, 2022
1 parent f9e8b2c commit 31d799d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/react-query-devtools/src/devtools.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,7 @@ export function ReactQueryDevtools({
styleNonce={styleNonce}
{...otherPanelProps}
style={{
direction: 'ltr',
position: 'fixed',
bottom: '0',
right: '0',
Expand Down

0 comments on commit 31d799d

Please sign in to comment.