From 4f706ab86442822f4da16037407f5392a16a24dd Mon Sep 17 00:00:00 2001 From: Alex Xie Date: Sat, 24 Aug 2019 11:14:57 +0800 Subject: [PATCH 1/2] Fix margin --- .../ConnectedFilterControl/ConnectedFilterControl.scss | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/components/Filters/components/ConnectedFilterControl/ConnectedFilterControl.scss b/src/components/Filters/components/ConnectedFilterControl/ConnectedFilterControl.scss index a1ee915e2ce..b6d7d68c331 100644 --- a/src/components/Filters/components/ConnectedFilterControl/ConnectedFilterControl.scss +++ b/src/components/Filters/components/ConnectedFilterControl/ConnectedFilterControl.scss @@ -63,11 +63,14 @@ $stacking-order: ( } .MoreFiltersButtonContainer * { - margin-left: -1px; border-top-left-radius: 0 !important; border-bottom-left-radius: 0 !important; flex-shrink: 0; white-space: nowrap; + + > div { + margin-left: -1px; + } } .Wrapper { From 13f745af2600eaa126d17c6da6fba7db4e882bb1 Mon Sep 17 00:00:00 2001 From: Alex Xie Date: Sat, 24 Aug 2019 14:08:59 +0800 Subject: [PATCH 2/2] unreleased changelog addition --- UNRELEASED.md | 1 + 1 file changed, 1 insertion(+) diff --git a/UNRELEASED.md b/UNRELEASED.md index 9d5b350ebf0..9f309d82feb 100644 --- a/UNRELEASED.md +++ b/UNRELEASED.md @@ -53,6 +53,7 @@ Use [the changelog guidelines](https://git.io/polaris-changelog-guidelines) to f - Fixed `ContextualSaveBar` actions overflowing on small screens ([#1967](https://github.com/Shopify/polaris-react/pull/1967)) - Fixed cross-origin error being thrown in `Modal` when loading an external app ([#1992](https://github.com/Shopify/polaris-react/pull/1992)) - Fixed regression in `PopoverOverlay` causing `onClose` to be fired when Popover is opening and trigger was not the activator ([#2000](https://github.com/Shopify/polaris-react/pull/2000)) +- Fixed visual bug where button width changed in Filters component ([#1853](https://github.com/Shopify/polaris-react/issues/1853)) ### Documentation