Skip to content

Commit

Permalink
changeset
Browse files Browse the repository at this point in the history
  • Loading branch information
zakwarsame committed Aug 1, 2023
1 parent 8bfa4c7 commit b60bbac
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/ninety-carrots-hammer.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@shopify/polaris': patch
---

Fixed ActionList item overflow and tooltip zIndex
7 changes: 5 additions & 2 deletions polaris-react/src/components/ActionList/ActionList.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
@import '../../styles/common';

$indented-item-margin: calc(var(--p-space-5) + var(--p-space-05));
$indented-item-width: calc(100% - #{$indented-item-margin});

.Item {
// stylelint-disable -- Polaris component custom properties
--pc-action-list-item-min-height: var(--p-space-10);
Expand Down Expand Up @@ -174,8 +177,8 @@
--pc-action-list-image-size: 24px;
// stylelint-enable
position: relative;
margin-left: calc(var(--p-space-5) + var(--p-space-05));
max-width: 94%;
margin-left: $indented-item-margin;
max-width: $indented-item-width;

&::before {
content: '';
Expand Down

0 comments on commit b60bbac

Please sign in to comment.