Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/chilly-cloths-heal.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@primer/react': patch
---

ActionList: Fix trailing action button to take full height.
6 changes: 6 additions & 0 deletions packages/react/src/ActionList/ActionList.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -588,6 +588,11 @@

.TrailingAction {
grid-area: trailingAction;

/* if child is loading button */
& > *[data-loading-wrapper] {
height: 100%;
}
}

/* wrapper span
Expand Down Expand Up @@ -689,6 +694,7 @@ span wrapping svg or text */
.TrailingActionButton {
border-top-left-radius: 0;
border-bottom-left-radius: 0;
height: 100%;

/* Preserve width consistency when loading state is active for text buttons only */
&[data-loading='true']:has([data-component='buttonContent']) {
Expand Down
Loading