diff --git a/packages/block-library/src/query/edit/query-toolbar.js b/packages/block-library/src/query/edit/query-toolbar.js
index dd079aa1a81103..3420ecb0e8d886 100644
--- a/packages/block-library/src/query/edit/query-toolbar.js
+++ b/packages/block-library/src/query/edit/query-toolbar.js
@@ -34,63 +34,67 @@ export default function QueryToolbar( {
];
return (
<>
-
- (
-
- ) }
- renderContent={ () => (
- <>
-
-
- setQuery( { perPage: +value ?? -1 } )
- }
- step="1"
- value={ query.perPage }
- isDragEnabled={ false }
- />
-
-
-
- setQuery( { offset: +value } )
- }
- step="1"
- value={ query.offset }
- isDragEnabled={ false }
- />
-
-
-
- setQuery( { pages: value ?? -1 } )
- }
- />
-
- >
- ) }
- />
-
+ { ! query.inherit && (
+
+ (
+
+ ) }
+ renderContent={ () => (
+ <>
+
+
+ setQuery( {
+ perPage: +value ?? -1,
+ } )
+ }
+ step="1"
+ value={ query.perPage }
+ isDragEnabled={ false }
+ />
+
+
+
+ setQuery( { offset: +value } )
+ }
+ step="1"
+ value={ query.offset }
+ isDragEnabled={ false }
+ />
+
+
+
+ setQuery( { pages: value ?? -1 } )
+ }
+ />
+
+ >
+ ) }
+ />
+
+ ) }
>
);