mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-05 16:02:19 +00:00
feat(ui): add link icon and use it for copy-to-clipboard buttons
Replace copy icon with new link icon in share URL copy button and TextField copyable button for better visual indication.
This commit is contained in:
parent
c1af7ddc6b
commit
c2ec608212
3 changed files with 4 additions and 3 deletions
|
|
@ -166,7 +166,7 @@ export function SessionHeader() {
|
|||
gutter={6}
|
||||
placement="bottom-end"
|
||||
shift={-64}
|
||||
class="rounded-xl"
|
||||
class="rounded-xl [&_[data-slot=popover-close-button]]:hidden"
|
||||
triggerAs={Button}
|
||||
triggerProps={{
|
||||
variant: "secondary",
|
||||
|
|
@ -234,7 +234,7 @@ export function SessionHeader() {
|
|||
gutter={8}
|
||||
>
|
||||
<IconButton
|
||||
icon={state.copied ? "check" : "copy"}
|
||||
icon={state.copied ? "check" : "link"}
|
||||
variant="secondary"
|
||||
class="rounded-l-none"
|
||||
onClick={copyLink}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue