File tree Expand file tree Collapse file tree 2 files changed +10
-8
lines changed Expand file tree Collapse file tree 2 files changed +10
-8
lines changed Original file line number Diff line number Diff line change @@ -52,13 +52,15 @@ const FilterBoxWrapper = ({
52
52
>
53
53
< DropdownMenu . Trigger asChild >
54
54
< Button variant = "secondary" size = "sm" className = "px-2.5 py-1.5" >
55
- < div className = "flex items- center gap-x-1.5 text-1 ">
56
- < Text as = "span" color = "foreground-1" >
55
+ < Layout . Grid align = " center" columns = "auto 1fr" gapX = "2xs ">
56
+ < Text as = "span" color = "foreground-1" truncate >
57
57
{ filterLabel }
58
58
{ ! ! valueLabel && ': ' }
59
59
</ Text >
60
- < Text as = "span" > { valueLabel } </ Text >
61
- </ div >
60
+ < Text as = "span" truncate >
61
+ { valueLabel }
62
+ </ Text >
63
+ </ Layout . Grid >
62
64
< IconV2 className = "chevron-down text-icons-1" name = "nav-arrow-down" size = "2xs" />
63
65
</ Button >
64
66
</ DropdownMenu . Trigger >
Original file line number Diff line number Diff line change @@ -126,12 +126,12 @@ const PullRequestListPage: FC<PullRequestPageProps> = ({
126
126
email
127
127
} : Pick < PrincipalType , 'display_name' | 'email' > ) : React . ReactNode =>
128
128
display_name !== email ? (
129
- < Layout . Horizontal gap = "3xs" align = "center" className = "flex-wrap ">
130
- < Text wrap = "nowrap" > { display_name } </ Text >
131
- < Text color = "foreground-3" variant = "body-single-line-normal" lineClamp = { 1 } >
129
+ < Layout . Grid gap = "3xs" align = "center" columns = "auto auto ">
130
+ < Text truncate > { display_name } </ Text >
131
+ < Text color = "foreground-3" variant = "body-single-line-normal" truncate >
132
132
({ email } )
133
133
</ Text >
134
- </ Layout . Horizontal >
134
+ </ Layout . Grid >
135
135
) : (
136
136
< Text lineClamp = { 1 } > { display_name } </ Text >
137
137
)
You can’t perform that action at this time.
0 commit comments