diff --git a/packages/bruno-app/src/components/RequestPane/QueryParams/index.js b/packages/bruno-app/src/components/RequestPane/QueryParams/index.js index b82f54fc5..e2b5043f7 100644 --- a/packages/bruno-app/src/components/RequestPane/QueryParams/index.js +++ b/packages/bruno-app/src/components/RequestPane/QueryParams/index.js @@ -1,7 +1,7 @@ import React from 'react'; import get from 'lodash/get'; import cloneDeep from 'lodash/cloneDeep'; -import has from 'lodash/has'; +import Tooltip from 'components/Tooltip'; import { IconTrash } from '@tabler/icons'; import { useDispatch } from 'react-redux'; import { useTheme } from 'providers/Theme'; @@ -103,7 +103,7 @@ const QueryParams = ({ item, collection }) => { return (
-
Query
+
Query
@@ -173,7 +173,22 @@ const QueryParams = ({ item, collection }) => { -
Path
+
+ Path + + Path variables are automatically added whenever the + :name + template is used in the URL.
For example: + + https://example.com/v1/users/:id + +
+ `} + tooltipId="path-param-tooltip" + /> +
@@ -226,12 +241,7 @@ const QueryParams = ({ item, collection }) => {
{!(pathParams && pathParams.length) ?
- Path variables are automatically added whenever the - :name - template is used in the URL, for example: - - https://example.com/v1/users/:id - +
: null}
diff --git a/packages/bruno-app/src/components/Tooltip/index.js b/packages/bruno-app/src/components/Tooltip/index.js index d5ab5c41d..6622a9e72 100644 --- a/packages/bruno-app/src/components/Tooltip/index.js +++ b/packages/bruno-app/src/components/Tooltip/index.js @@ -13,7 +13,6 @@ const Tooltip = ({ text, tooltipId }) => { fill="currentColor" className="inline-block ml-2 cursor-pointer" viewBox="0 0 16 16" - style={{ marginTop: 1 }} >