diff --git a/UNRELEASED.md b/UNRELEASED.md index c03fdb76dc9..1c4739d019e 100644 --- a/UNRELEASED.md +++ b/UNRELEASED.md @@ -12,6 +12,7 @@ Use [the changelog guidelines](https://git.io/polaris-changelog-guidelines) to f ### Bug fixes +- Fixed inconsistent padding of sections in `Modal` ([#2072](https://github.com/Shopify/polaris-react/pull/2072)) - Fixed animation for Modal when being rendered asynchronously ([#2076](https://github.com/Shopify/polaris-react/pull/2076)) - Updated `TextField` `min` and `max` type from `number` to `number | string` to allow min/max dates ([#1991](https://github.com/Shopify/polaris-react/pull/1991)) diff --git a/src/components/Modal/components/Section/Section.scss b/src/components/Modal/components/Section/Section.scss index 00e68fe714d..4dc96027e73 100644 --- a/src/components/Modal/components/Section/Section.scss +++ b/src/components/Modal/components/Section/Section.scss @@ -2,11 +2,7 @@ .Section { flex: 0 0 auto; - padding: spacing() spacing(loose); - - &:first-of-type { - padding-top: spacing(loose); - } + padding: spacing(loose); &:not(:last-of-type) { border-bottom: border();