Skip to content

Commit e417766

Browse files
committed
All the hover states are now consistent
1 parent a59b312 commit e417766

File tree

2 files changed

+5
-5
lines changed
  • apps/webapp/app
    • components/primitives
    • routes/_app.orgs.$organizationSlug.projects.$projectParam.env.$envParam.runs.$runParam

2 files changed

+5
-5
lines changed

apps/webapp/app/components/primitives/CopyableText.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,11 +77,11 @@ export function CopyableText({
7777
copy();
7878
}}
7979
className={cn(
80-
"cursor-pointer bg-transparent px-1 py-0 text-left text-text-bright transition-colors hover:bg-transparent hover:text-white",
80+
"cursor-pointer bg-transparent px-1 py-0 text-left text-text-dimmed transition-colors hover:bg-transparent",
8181
className
8282
)}
8383
>
84-
{value}
84+
<span className="transition-colors group-hover/button:text-text-bright">{value}</span>
8585
</Button>
8686
}
8787
content={copied ? "Copied" : "Copy"}

apps/webapp/app/routes/_app.orgs.$organizationSlug.projects.$projectParam.env.$envParam.runs.$runParam/route.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,7 @@ export default function Page() {
342342
<CopyableText
343343
value={run.friendlyId}
344344
variant="text-below"
345-
className="-ml-[0.4375rem] h-6 px-1.5 font-mono text-xs"
345+
className="-ml-[0.4375rem] h-6 px-1.5 font-mono text-xs hover:text-text-bright"
346346
/>
347347
{tableState && (
348348
<div className="flex">
@@ -1785,7 +1785,7 @@ function PreviousRunButton({ to }: { to: string | null }) {
17851785
to={to ? to : "#"}
17861786
variant={"minimal/small"}
17871787
LeadingIcon={ChevronExtraSmallUp}
1788-
leadingIconClassName="size-3"
1788+
leadingIconClassName="size-3 group-hover/button:text-text-bright transition-colors"
17891789
className={cn("flex size-6 max-w-6 items-center", !to && "cursor-not-allowed opacity-50")}
17901790
onClick={(e) => !to && e.preventDefault()}
17911791
shortcut={{ key: "[" }}
@@ -1804,7 +1804,7 @@ function NextRunButton({ to }: { to: string | null }) {
18041804
to={to ? to : "#"}
18051805
variant={"minimal/small"}
18061806
LeadingIcon={ChevronExtraSmallDown}
1807-
leadingIconClassName="size-3"
1807+
leadingIconClassName="size-3 group-hover/button:text-text-bright transition-colors"
18081808
className={cn("flex size-6 max-w-6 items-center", !to && "cursor-not-allowed opacity-50")}
18091809
onClick={(e) => !to && e.preventDefault()}
18101810
shortcut={{ key: "]" }}

0 commit comments

Comments
 (0)