Skip to content

Commit 3f24dad

Browse files
authored
Merge branch 'main' into changeset-release/main
2 parents 4c28687 + 3c382a2 commit 3f24dad

10 files changed

Lines changed: 9 additions & 5 deletions
249 Bytes
Loading
284 Bytes
Loading
276 Bytes
Loading
249 Bytes
Loading
249 Bytes
Loading
271 Bytes
Loading
218 Bytes
Loading
271 Bytes
Loading
271 Bytes
Loading

packages/react/src/ActionList/ActionList.module.css

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -628,23 +628,27 @@ default block */
628628
/* inline */
629629
&:where([data-description-variant='inline']) {
630630
position: relative;
631-
display: block;
632631
word-break: normal;
633-
/* stylelint-disable-next-line primer/typography */
634-
line-height: normal;
632+
flex-direction: row;
633+
align-items: baseline;
634+
gap: var(--base-size-8);
635635

636636
& .ItemLabel {
637637
word-break: normal;
638638
}
639639

640+
&:has([data-truncate='true']) {
641+
& .ItemLabel {
642+
flex: 1 0 auto;
643+
}
644+
}
645+
640646
& .Description {
641-
margin-left: var(--base-size-8);
642647
/* adjust line-height for baseline alignment */
643648

644649
/* line-height: calc(var(--control-medium-lineBoxHeight) - var(--base-size-2)); */
645650
/* stylelint-disable-next-line primer/typography */
646651
line-height: 16px;
647-
overflow-wrap: break-word;
648652
}
649653
}
650654
}

0 commit comments

Comments
 (0)