Skip to content

Commit b0e32d9

Browse files
authored
Fixed applying label filters when clicking on a label from the PR list (#2137)
1 parent 0c6d0c4 commit b0e32d9

File tree

3 files changed

+8
-7
lines changed

3 files changed

+8
-7
lines changed

packages/ui/src/views/repo/components/CommitTitleWithPRLink.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,7 @@ export const CommitTitleWithPRLink = (props: CommitTitleWithPRLinkProps) => {
3232
}
3333

3434
return (
35-
// TODO : Remove the relative className once we have a better way to handle this
36-
<Text {...textProps} key={piece} className="relative">
35+
<Text {...textProps} key={piece}>
3736
&nbsp;(
3837
<Link
3938
title={title}

packages/ui/tailwind-utils-config/components/stacked-list.ts

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -61,11 +61,9 @@ export default {
6161

6262
'&-with-link': {
6363
'a, button': {
64-
'@apply z-10': ''
65-
},
66-
67-
button: {
68-
'@apply relative': ''
64+
'&:where(:not(.cn-stacked-list-item-link))': {
65+
'@apply z-10 relative': ''
66+
}
6967
}
7068
}
7169
},

packages/ui/tailwind-utils-config/components/tag.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,10 @@ export default {
8484
}
8585
},
8686

87+
'&:where(.cn-tag-hoverable)': {
88+
'@apply relative z-[1]': ''
89+
},
90+
8791
'&:where(.cn-tag-sm)': {
8892
height: `var(--cn-tag-size-sm)`,
8993
'@apply font-caption-single-line-normal': '',

0 commit comments

Comments
 (0)