From 674876837199f7765e4acb4b40cefedba4352b1a Mon Sep 17 00:00:00 2001 From: Lo Kim Date: Tue, 31 Oct 2023 08:47:55 -0400 Subject: [PATCH 1/2] [IndexTable] Fix header tooltip styling --- polaris-react/src/components/IndexTable/IndexTable.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/polaris-react/src/components/IndexTable/IndexTable.tsx b/polaris-react/src/components/IndexTable/IndexTable.tsx index 73352705d0c..e90d7e6a31e 100644 --- a/polaris-react/src/components/IndexTable/IndexTable.tsx +++ b/polaris-react/src/components/IndexTable/IndexTable.tsx @@ -902,8 +902,8 @@ function IndexTableBase({ const defaultHeaderTooltipProps = { ...defaultTooltipProps, - padding: '4' as Padding, - borderRadius: '2' as BorderRadius, + padding: '400' as Padding, + borderRadius: '200' as BorderRadius, content: heading.tooltipContent, preferredPosition: 'above' as TooltipOverlayProps['preferredPosition'], }; From d58117ed693a0068f5bb5f8aec3601b73432e39f Mon Sep 17 00:00:00 2001 From: Lo Kim Date: Tue, 31 Oct 2023 08:48:20 -0400 Subject: [PATCH 2/2] Add changeset --- .changeset/weak-roses-doubt.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/weak-roses-doubt.md diff --git a/.changeset/weak-roses-doubt.md b/.changeset/weak-roses-doubt.md new file mode 100644 index 00000000000..c5b319de9bc --- /dev/null +++ b/.changeset/weak-roses-doubt.md @@ -0,0 +1,5 @@ +--- +'@shopify/polaris': patch +--- + +Fixed styling on `IndexTable` component header tooltip