From 68cd04558ed4e847c1e52635b1eb0fdfc821fd08 Mon Sep 17 00:00:00 2001 From: Anthony Morris Date: Wed, 27 May 2020 21:59:48 -0700 Subject: [PATCH 1/2] Adjust sizing of CheckableButtonWrapper so it doesn't get squished --- src/components/ResourceList/ResourceList.scss | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/components/ResourceList/ResourceList.scss b/src/components/ResourceList/ResourceList.scss index 8ee6ed2a87a..e26fd20a9f4 100644 --- a/src/components/ResourceList/ResourceList.scss +++ b/src/components/ResourceList/ResourceList.scss @@ -240,3 +240,16 @@ $item-wrapper-loading-height: rem(64px); .disableTextSelection { user-select: none; } + +.HeaderTitleWrapper, +.CheckableButtonWrapper, +.AlternateToolWrapper, +.SortWrapper, +.SelectButtonWrapper { + @include layout-flex-fix; +} + +.HeaderTitleWrapper, +.CheckableButtonWrapper { + min-width: spacing(); +} From 857173d9770443a91ddc242f97d674cd8c71470b Mon Sep 17 00:00:00 2001 From: Anthony Morris Date: Wed, 27 May 2020 22:14:06 -0700 Subject: [PATCH 2/2] Add line to UNRELEASED.md --- UNRELEASED.md | 1 + 1 file changed, 1 insertion(+) diff --git a/UNRELEASED.md b/UNRELEASED.md index c4b68b1a72e..2f5a69b946c 100644 --- a/UNRELEASED.md +++ b/UNRELEASED.md @@ -12,6 +12,7 @@ ### Bug fixes - Fixed incorrect `icon` color of `Button` when `destructive` and `plain` ([#2958](https://github.com/Shopify/polaris-react/issues/2958)) +- Fixed sizing issue with `CheckableButtonWrapper` on `ResourceList` ([#2961](https://github.com/Shopify/polaris-react/issues/2961)) ### Documentation