From 930af52675b439a15b3017ab70200a3b8e629118 Mon Sep 17 00:00:00 2001 From: Adrian Lam Date: Sat, 25 Oct 2025 15:17:06 -0700 Subject: [PATCH] fix: style of mobile api fields table --- docs/lib/tsdoc/tsdoc.tsx | 27 ++++++++++----------------- 1 file changed, 10 insertions(+), 17 deletions(-) diff --git a/docs/lib/tsdoc/tsdoc.tsx b/docs/lib/tsdoc/tsdoc.tsx index 93e0cfa43..dad85fc60 100644 --- a/docs/lib/tsdoc/tsdoc.tsx +++ b/docs/lib/tsdoc/tsdoc.tsx @@ -132,8 +132,8 @@ function FunctionSignature({ - - {linkify(prop.type, typeLinkMap)} + + {linkify(prop.description || '', typeLinkMap)} ); @@ -175,12 +175,12 @@ function FunctionSignature({ return ( - + {linkify(type, typeLinkMap)} - + {description && (

{linkify(description, typeLinkMap)} @@ -210,10 +210,7 @@ const Row: FC<{ return ( {children} @@ -225,7 +222,7 @@ const NameCell: FC<{ optional?: boolean; }> = ({ name, optional }) => { return ( - + {name && ( = ({ type, typeLinkMap }) => { return ( - - {linkify(type, typeLinkMap)} - + {linkify(type, typeLinkMap)} ); }; @@ -283,11 +278,9 @@ const FieldsTable: FC<{ {linkify(description, typeLinkMap)}