Skip to content

Commit 10c2b94

Browse files
committed
feat(webapp): Small UI tweaks for task runs
Fix text colors, incorporate PR feedback
1 parent 6a4a61e commit 10c2b94

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,7 @@ export const LinkButton = ({
372372
<ExtLink
373373
href={to.toString()}
374374
ref={innerRef}
375-
className={cn("group/button focus-custom", props.fullWidth ? "w-full" : "")}
375+
className={cn("group/button block focus-custom", props.fullWidth ? "w-full" : "")}
376376
onClick={onClick}
377377
onMouseDown={onMouseDown}
378378
onMouseEnter={onMouseEnter}
@@ -387,7 +387,7 @@ export const LinkButton = ({
387387
<Link
388388
to={to}
389389
ref={innerRef}
390-
className={cn("group/button focus-custom", props.fullWidth ? "w-full" : "")}
390+
className={cn("group/button block focus-custom", props.fullWidth ? "w-full" : "")}
391391
onClick={onClick}
392392
onMouseDown={onMouseDown}
393393
onMouseEnter={onMouseEnter}
@@ -408,7 +408,7 @@ export const NavLinkButton = ({ to, className, target, ...props }: NavLinkPropsT
408408
return (
409409
<NavLink
410410
to={to}
411-
className={cn("group/button outline-none display-block", props.fullWidth ? "w-full" : "")}
411+
className={cn("group/button outline-none block", props.fullWidth ? "w-full" : "")}
412412
target={target}
413413
>
414414
{({ isActive, isPending }) => (

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ export function CopyableText({
8181
className
8282
)}
8383
>
84-
<span className="text-text-white">{value}</span>
84+
<span>{value}</span>
8585
</Button>
8686
}
8787
content={copied ? "Copied" : "Click to copy"}

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import {
2121
nanosecondsToMilliseconds,
2222
tryCatch,
2323
} from "@trigger.dev/core/v3";
24-
import type { $Enums, RuntimeEnvironmentType } from "@trigger.dev/database";
24+
import type { RuntimeEnvironmentType } from "@trigger.dev/database";
2525
import { motion } from "framer-motion";
2626
import React, { useCallback, useEffect, useRef, useState } from "react";
2727
import { useHotkeys } from "react-hotkeys-hook";

0 commit comments

Comments
 (0)