mirror of
https://github.com/harivansh-afk/sandbox-agent.git
synced 2026-04-16 04:02:01 +00:00
fix: remove copy icon, reduce padding, reposition badges in dropdown
This commit is contained in:
parent
d85f55a75b
commit
d30ddc24f2
8 changed files with 246 additions and 68 deletions
|
|
@ -1,4 +1,4 @@
|
|||
import { ChevronDown, ChevronRight, Copy, Check } from "lucide-react";
|
||||
import { ChevronDown, ChevronRight } from "lucide-react";
|
||||
import { useEffect, useState } from "react";
|
||||
import type { UniversalEvent } from "sandbox-agent";
|
||||
import { formatJson, formatTime } from "../../utils/format";
|
||||
|
|
@ -52,7 +52,6 @@ const EventsTab = ({
|
|||
disabled={events.length === 0}
|
||||
title="Copy all events as JSON"
|
||||
>
|
||||
{copied ? <Check size={14} /> : <Copy size={14} />}
|
||||
{copied ? "Copied" : "Copy"}
|
||||
</button>
|
||||
<button className="button ghost small" onClick={onClear}>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue