fix(site): keep agents sidebar PR count color consistent (#31929)
This commit is contained in:
1 parent
ce86fcd1ef
commit
e1c3a21d05
2 files changed
+12
-2
No files matched your search
@@ -1936,6 +1936,16 @@ export const WithMultiplePRs: Story = {
|
||||
},
|
||||
};
|
||||
|
||||
export const WithMultiplePRsSelected: Story = {
|
||||
args: WithMultiplePRs.args,
|
||||
parameters: {
|
||||
reactRouter: reactRouterParameters({
|
||||
location: { path: "/agents/multi-pr" },
|
||||
routing: agentsRouting,
|
||||
}),
|
||||
},
|
||||
};
|
||||
|
||||
// Enough PRs to show the submenu's height limit.
|
||||
export const WithManyPRs: Story = {
|
||||
args: {
|
||||
|
||||
@@ -36,14 +36,14 @@ export const ChatNodePRIcon: React.FC<ChatNodePRIconProps> = ({
|
||||
<span
|
||||
role="img"
|
||||
aria-label={`${prStatuses.length} pull requests`}
|
||||
className="inline-flex shrink-0 items-center gap-0.5"
|
||||
className="inline-flex shrink-0 items-center gap-0.5 text-content-secondary"
|
||||
>
|
||||
<span aria-hidden="true" className="text-[13px] leading-4 tabular-nums">
|
||||
{prStatuses.length}
|
||||
</span>
|
||||
<GitPullRequestArrowIcon
|
||||
aria-hidden="true"
|
||||
className="size-3.5 shrink-0 text-content-secondary"
|
||||
className="size-3.5 shrink-0"
|
||||
/>
|
||||
</span>
|
||||
);
|
||||
|
||||
Reference in new issue
Block a user