diff --git a/packages/dev-app/src/router.ts b/packages/dev-app/src/router.ts index 0bafaed..b7e8a8d 100644 --- a/packages/dev-app/src/router.ts +++ b/packages/dev-app/src/router.ts @@ -126,7 +126,15 @@ export const appRouter = createTRPCRouter({ searchTerm: z .string() .optional() - .describe("The name of the thing to search for."), + .describe( + "The name of the thing to search for. Really really long long long boi long boi long" + ), + searchTerm2: z + .string() + .optional() + .describe( + "The name of the thing to search for. Really really long long long boi long boi long Really really long long long boi long boi long Really really long long long boi long boi long Really really long long long boi long boi long" + ), }) ) .query(() => { diff --git a/packages/trpc-panel/src/react-app/components/form/ProcedureForm/DescriptionSection.tsx b/packages/trpc-panel/src/react-app/components/form/ProcedureForm/DescriptionSection.tsx index 847604b..1a10ae6 100644 --- a/packages/trpc-panel/src/react-app/components/form/ProcedureForm/DescriptionSection.tsx +++ b/packages/trpc-panel/src/react-app/components/form/ProcedureForm/DescriptionSection.tsx @@ -12,7 +12,7 @@ export function DocumentationSection({ return ( -
+
{extraData.description && ( {extraData.description} @@ -20,41 +20,23 @@ export function DocumentationSection({ )} {hasParams && ( -
-
-
    - {Object.entries(extraData.parameterDescriptions).map( - ([key]) => ( -
  • - - {`${key}: `} - -
  • - ) - )} -
-
- -
-
    - {Object.entries(extraData.parameterDescriptions).map( - ([key, value]) => ( -
  • - - {`${value}`} - -
  • - ) - )} -
-
-
+ + {Object.entries(extraData.parameterDescriptions).map( + ([key, value]) => ( + + + + + ) + )} +
+ {`${key}: `} + + {`${value}`} +
)}