-
Notifications
You must be signed in to change notification settings - Fork 526
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix AvatarStack opacity for children without sx prop (#1751)
* Move z-index into AvatarStackWrapper styles .pc-AvatarItem elements need both opacity and z-index styles in order to display properly. Since children of AvatarStack are not guaranteed to have an sx prop, it can't reliably enforce these rules. Instead, AvatarStackWrapper can define the styles. * Update snapshot to capture new styles * Create two-peas-exercise.md Co-authored-by: Rez <rezrah@github.com>
- Loading branch information
Showing
3 changed files
with
97 additions
and
164 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@primer/react": patch | ||
--- | ||
|
||
Fix AvatarStack opacity for children without sx prop |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.