Skip to content

Commit

Permalink
Add align-self: flex-start to group heading directly (#2972)
Browse files Browse the repository at this point in the history
  • Loading branch information
TylerJDev authored Jul 26, 2024
1 parent 05172fa commit 9b675a7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/wild-onions-explode.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@primer/view-components': patch
---

Replace `align-items` with `align-self` and apply it on `ActionList` group headings directly.
2 changes: 1 addition & 1 deletion app/components/primer/alpha/action_list.pcss
Original file line number Diff line number Diff line change
Expand Up @@ -642,7 +642,6 @@ nav-list {
/* with children */
&:not(:empty) {
display: flex;
align-items: flex-start;
padding-inline: var(--actionListContent-paddingBlock);
padding-block: var(--base-size-8);
font-size: var(--text-body-size-small);
Expand All @@ -669,6 +668,7 @@ nav-list {
font-size: var(--text-body-size-small);
font-weight: var(--base-text-weight-semibold);
color: var(--fgColor-muted);
align-self: flex-start;
}
}

Expand Down

0 comments on commit 9b675a7

Please sign in to comment.