diff --git a/UNRELEASED.md b/UNRELEASED.md index 80dd65ff3c7..1bcfd0e1791 100644 --- a/UNRELEASED.md +++ b/UNRELEASED.md @@ -6,7 +6,7 @@ Use [the changelog guidelines](/documentation/Versioning%20and%20changelog.md) t ### Enhancements -- [ColorPicker] Add an inset box-shadow to make it easier to see the draggers ([#4948](https://github.com/Shopify/polaris-react/pull/4948)) +- Add an inset box-shadow to `ColorPicker` to make it easier to see the draggers ([#4948](https://github.com/Shopify/polaris-react/pull/4948)) - Tightened up the Navigation component UI density. ([#4874](https://github.com/Shopify/polaris-react/pull/4874)) - Updated the Navigation IA ([#4902](https://github.com/Shopify/polaris-react/pull/4902)) - Added new `duplicateRootItem` prop to a Navigation Section to support new mobile Navigation IA ([#4902](https://github.com/Shopify/polaris-react/pull/4902)) @@ -18,13 +18,14 @@ Use [the changelog guidelines](/documentation/Versioning%20and%20changelog.md) t - Fixed `segmented` `ButtonGroup` misaligning icon only buttons when grouped with text only buttons ([#4079](https://github.com/Shopify/polaris-react/issues/4079)) - Added missing styles for `destructive` `Page` `secondaryActions` ([#4647](https://github.com/Shopify/polaris-react/pull/4647)) - Removed `min-height` from `Page` `additionalNavigation` ([#4952](https://github.com/Shopify/polaris-react/pull/4952)) -- Fixed overly dark `bottom-border` on `DataTable` header cell and total cell. ([#4975])(https://github.com/Shopify/polaris-react/pull/4975) +- Fixed overly dark `bottom-border` on `DataTable` header cell and total cell ([#4975](https://github.com/Shopify/polaris-react/pull/4975)) +- Removed `min-height` on `Autocomplete` `action` ([#4977](https://github.com/Shopify/polaris-react/pull/4977)) ### Documentation ### Development workflow -- Improve error logging in the event of sass errors. ([#4954](https://github.com/Shopify/polaris-react/pull/4954)) +- Improve error logging in the event of sass errors ([#4954](https://github.com/Shopify/polaris-react/pull/4954)) ### Dependency upgrades diff --git a/src/components/Autocomplete/components/MappedAction/MappedAction.scss b/src/components/Autocomplete/components/MappedAction/MappedAction.scss index f701fa2a3d8..7affdd08cef 100644 --- a/src/components/Autocomplete/components/MappedAction/MappedAction.scss +++ b/src/components/Autocomplete/components/MappedAction/MappedAction.scss @@ -1,8 +1,6 @@ @import '../../../../styles/common'; $image-size: rem(20px); -$item-min-height: rem(40px); -$item-vertical-padding: ($item-min-height - line-height(body)) / 2; .ActionContainer { margin-bottom: spacing(base-tight); @@ -22,7 +20,6 @@ $item-vertical-padding: ($item-min-height - line-height(body)) / 2; @include focus-ring; display: block; width: 100%; - min-height: $item-min-height; text-align: left; cursor: pointer;