Skip to content

Commit fefc020

Browse files
committed
ui consistency
1 parent 02e83fb commit fefc020

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

packages/web/app/src/pages/target-trace.tsx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1358,19 +1358,19 @@ function AttributeRow(props: AttributeRowProps) {
13581358
const [isExpanded, setIsExpanded] = useState(false);
13591359

13601360
const actionsNode = (
1361-
<>
1361+
<span className="ml-auto mr-0 flex text-white">
13621362
<CopyIconButton value={props.value} label="Copy attribute value" />
13631363
<TooltipProvider>
1364-
<Tooltip delayDuration={0}>
1364+
<Tooltip delayDuration={0} disableHoverableContent>
13651365
<TooltipTrigger asChild>
13661366
<Button variant="ghost" size="icon-xs" onClick={() => setIsExpanded(bool => !bool)}>
13671367
{isExpanded ? <ChevronUp size="14" /> : <ChevronDown size="14" />}
13681368
</Button>
13691369
</TooltipTrigger>
1370-
<TooltipContent>{isExpanded ? 'Collapse' : 'Expand'}</TooltipContent>
1370+
<TooltipContent className="text-xs">{isExpanded ? 'Collapse' : 'Expand'}</TooltipContent>
13711371
</Tooltip>
13721372
</TooltipProvider>
1373-
</>
1373+
</span>
13741374
);
13751375

13761376
return (
@@ -1407,7 +1407,7 @@ function CopyIconButton(props: CopyIconButtonProps) {
14071407
const clipboard = useClipboard();
14081408
return (
14091409
<TooltipProvider>
1410-
<Tooltip delayDuration={0}>
1410+
<Tooltip delayDuration={0} disableHoverableContent>
14111411
<TooltipTrigger asChild>
14121412
<Button
14131413
variant="ghost"
@@ -1418,7 +1418,7 @@ function CopyIconButton(props: CopyIconButtonProps) {
14181418
<CopyIcon size="10" />
14191419
</Button>
14201420
</TooltipTrigger>
1421-
<TooltipContent>{props.label}</TooltipContent>
1421+
<TooltipContent className="text-xs">{props.label}</TooltipContent>
14221422
</Tooltip>{' '}
14231423
</TooltipProvider>
14241424
);

0 commit comments

Comments
 (0)