File tree Expand file tree Collapse file tree 2 files changed +8
-6
lines changed
views/repo/pull-request/details/components/conversation Expand file tree Collapse file tree 2 files changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ export const textVariants = cva('', {
74
74
warning : 'text-cn-warning' ,
75
75
merged : 'text-cn-merged' ,
76
76
danger : 'text-cn-danger' ,
77
- accent : 'text-cn-brand'
77
+ brand : 'text-cn-brand'
78
78
} ,
79
79
lineClamp : {
80
80
default : '' ,
Original file line number Diff line number Diff line change @@ -121,7 +121,7 @@ const HeaderTitle = ({ ...props }: HeaderProps) => {
121
121
122
122
const getStatusTextColor = ( ) : TextProps [ 'color' ] => {
123
123
if ( isDraft ) return 'foreground-1'
124
- if ( isClosed ) return 'accent '
124
+ if ( isClosed ) return 'brand '
125
125
if ( isMerged ) return 'merged'
126
126
127
127
if ( isOpen && ( mergeable === false || ruleViolation || isFastForwardNotPossible ) ) {
@@ -520,6 +520,7 @@ const PullRequestPanel = ({
520
520
disableHover
521
521
>
522
522
< StackedList . Field
523
+ className = "min-w-fit max-w-fit"
523
524
title = {
524
525
< HeaderTitle
525
526
isDraft = { isDraft }
@@ -547,11 +548,12 @@ const PullRequestPanel = ({
547
548
< >
548
549
< StackedList . Field
549
550
right
551
+ className = "grow [&>.cn-stacked-list-field-title]:overflow-visible"
550
552
title = {
551
- < Layout . Horizontal align = "center" justify = "center" gap = "sm ">
552
- { ! notBypassable && isMergeable && ! isDraft && prPanelData . ruleViolation && (
553
+ < Layout . Horizontal align = "center" gap = "sm" wrap = "wrap ">
554
+ {
553
555
< Checkbox
554
- className = "flex-1 "
556
+ className = "!w-fit "
555
557
id = "checkbox-bypass"
556
558
showOptionalLabel
557
559
checked = { ! ! checkboxBypass }
@@ -563,7 +565,7 @@ const PullRequestPanel = ({
563
565
label = "Bypass and merge anyway"
564
566
truncateLabel = { false }
565
567
/>
566
- ) }
568
+ }
567
569
568
570
{ shouldShowMoreActions && (
569
571
< MoreActionsTooltip
You can’t perform that action at this time.
0 commit comments