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

Commit 7872193

Browse files
author
Kamran Ayub
authored
fix: scrollable query list when overflowed (#46)
* use overflow prop
1 parent f947c59 commit 7872193

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,6 +295,7 @@ export const ReactQueryDevtoolsPanel = React.forwardRef(
295295
style={{
296296
flex: '1 1 500px',
297297
minHeight: '40%',
298+
maxHeight: '100%',
298299
overflow: 'auto',
299300
borderRight: `1px solid ${theme.grayAlt}`,
300301
display: 'flex',
@@ -407,7 +408,7 @@ export const ReactQueryDevtoolsPanel = React.forwardRef(
407408
</div>
408409
<div
409410
style={{
410-
overflow: 'auto',
411+
overflow: 'auto scroll',
411412
}}
412413
>
413414
{queries.map((query, i) => (

0 commit comments

Comments
 (0)