From 4afe515020302df723e16d780caf446ec5097ab9 Mon Sep 17 00:00:00 2001 From: Aisha Diallo Date: Wed, 24 May 2023 21:01:53 +0000 Subject: [PATCH 1/2] Add spacing to footer in Modal --- .changeset/witty-lions-camp.md | 5 +++++ .../src/components/Modal/components/Footer/Footer.tsx | 2 ++ 2 files changed, 7 insertions(+) create mode 100644 .changeset/witty-lions-camp.md diff --git a/.changeset/witty-lions-camp.md b/.changeset/witty-lions-camp.md new file mode 100644 index 00000000000..bb0a17a8435 --- /dev/null +++ b/.changeset/witty-lions-camp.md @@ -0,0 +1,5 @@ +--- +'@shopify/polaris': patch +--- + +Fix paddingInlineStart and paddingInlineEnd on Box in Footer diff --git a/polaris-react/src/components/Modal/components/Footer/Footer.tsx b/polaris-react/src/components/Modal/components/Footer/Footer.tsx index 7c85cc8718e..7b3b909a27c 100644 --- a/polaris-react/src/components/Modal/components/Footer/Footer.tsx +++ b/polaris-react/src/components/Modal/components/Footer/Footer.tsx @@ -38,6 +38,8 @@ export function Footer({ borderBlockStartWidth="1" minHeight="var(--p-space-16)" padding="4" + paddingInlineStart="5" + paddingInlineEnd="5" width="100%" > From 597061947279c082d072160ce3e6b26acc3ab1ed Mon Sep 17 00:00:00 2001 From: Kyle Durand Date: Mon, 29 May 2023 15:20:48 -0400 Subject: [PATCH 2/2] Update .changeset/witty-lions-camp.md --- .changeset/witty-lions-camp.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.changeset/witty-lions-camp.md b/.changeset/witty-lions-camp.md index bb0a17a8435..9e5e8ddc893 100644 --- a/.changeset/witty-lions-camp.md +++ b/.changeset/witty-lions-camp.md @@ -2,4 +2,4 @@ '@shopify/polaris': patch --- -Fix paddingInlineStart and paddingInlineEnd on Box in Footer +Fixed inline padding on Modal Footer