Comments (4)
Thanks for reporting, I'm experiencing the same issue with a MacBook Pro 16-inch from 2019, I found it difficult to read in a laptop at the default screen resolution. I wouldn't be surprise if this is related to the high DPI or the retina display and how resolutions works in Mac.
This was working better for me in @tanstack/react-query v4.29.19
from query.
Hello! This is working as intended here is an example for you.
You can provide a custom fontSize for the query devtools by simply wrapping the devtools component with your desired fontSize.
<div
style={{
fontSize: "24px",
}}
>
<ReactQueryDevtools initialIsOpen />
</div>
This will set the base size of the devtools font to 24px.
I'll close this issue for now. Please let me know if you still run into any issues!
from query.
I gather we're inheriting font size from the container #6226, so the ReactQueryDevTools
can just be wrapped in a div
with the appropriate font size (which Tanstack will then shrink to 5/8 size, if I've understood correctly...)
However it would be really nice if this was in the tooling rather than having to be set once per app, since different devs will have different access needs and you shouldn't have to raise a PR or write temporary code just to use the tool effectively.
from query.
font size is 0.75 rem (12px) and looks fine in the examples:
https://codesandbox.io/p/devbox/tanstack-query-example-react-simple-lskn7u
It was slightly bigger in v4 (0.9em, 12.6px)
Are you saying the switch to rem caused this? Are you setting custom styles on your body that made them bigger in v4, and this doesn't work anymore in v5?
@ardeora fyi
from query.
Related Issues (20)
- All mutations get stuck in paused state if one of them fails HOT 1
- Embedded examples broken in documentation HOT 1
- Docs: pagination example not working
- Mutation is not triggered when there is an optimistic update HOT 1
- Mutation cache, old mutations gets updated key and meta on state updates
- `useQueries` results are not stable even with memorization attempts HOT 9
- Unable to type the `useMutationState` hook HOT 1
- [svelte-query] derived `$page.params` store will becomes undefined during client side navigation HOT 2
- Homepage is erroring HOT 3
- eslint-plugin-query: exhaustive-deps error not triggered when dependency is nested inside then/catch HOT 1
- Vue.js example in the docs doesn't work HOT 2
- Devtools client prop is not working on Astro
- The object passed to the `queryFn` should be typed as `QueryFunctionContext` when using `useQueries` HOT 3
- Donating Funds to TanStack/query HOT 1
- Prefetched queries in SvelteKit that uses TRPC are refetched on the client regardless of staleness
- Cancelling query retry on observer unsubscribe inconsistency HOT 2
- useInfiniteQuery causes NotifyEventQueryObserverOptionsUpdated event to be fired without query set
- different behavior without/with developer console HOT 3
- react query 3.39.3 devtools error HOT 1
- Error Boundary Error: A component suspended HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from query.