Skip to content
This repository was archived by the owner on Jan 2, 2021. It is now read-only.

Commit

Permalink
fix: scrollable query list when overflowed (#46)
Browse files Browse the repository at this point in the history
* use overflow prop
  • Loading branch information
Kamran Ayub authored Jul 23, 2020
1 parent f947c59 commit 7872193
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -295,6 +295,7 @@ export const ReactQueryDevtoolsPanel = React.forwardRef(
style={{
flex: '1 1 500px',
minHeight: '40%',
maxHeight: '100%',
overflow: 'auto',
borderRight: `1px solid ${theme.grayAlt}`,
display: 'flex',
Expand Down Expand Up @@ -407,7 +408,7 @@ export const ReactQueryDevtoolsPanel = React.forwardRef(
</div>
<div
style={{
overflow: 'auto',
overflow: 'auto scroll',
}}
>
{queries.map((query, i) => (
Expand Down

0 comments on commit 7872193

Please sign in to comment.