summaryrefslogtreecommitdiffhomepage
path: root/packages/ui/src/components
diff options
context:
space:
mode:
authorDavid Hill <[email protected]>2026-01-24 22:22:01 +0000
committerDavid Hill <[email protected]>2026-01-24 22:22:01 +0000
commit4a4c1b31a7057e98a0888b5a491cd61bfc213785 (patch)
treeb0d858c4c4310316891509c5b779b565e9fc3008 /packages/ui/src/components
parent30111d2b16ba61b0a5c3996426ef1faa59971fe1 (diff)
downloadopencode-4a4c1b31a7057e98a0888b5a491cd61bfc213785.tar.gz
opencode-4a4c1b31a7057e98a0888b5a491cd61bfc213785.zip
fix(ui): update copy button tooltip gutter and label to 'Copy link'
Diffstat (limited to 'packages/ui/src/components')
-rw-r--r--packages/ui/src/components/text-field.tsx6
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/ui/src/components/text-field.tsx b/packages/ui/src/components/text-field.tsx
index 58155e8d9..044f1759f 100644
--- a/packages/ui/src/components/text-field.tsx
+++ b/packages/ui/src/components/text-field.tsx
@@ -93,9 +93,9 @@ export function TextField(props: TextFieldProps) {
</Show>
<Show when={local.copyable}>
<Tooltip
- value={copied() ? i18n.t("ui.textField.copied") : i18n.t("ui.textField.copyToClipboard")}
+ value={copied() ? i18n.t("ui.textField.copied") : i18n.t("ui.textField.copyLink")}
placement="top"
- gutter={8}
+ gutter={4}
>
<IconButton
type="button"
@@ -104,7 +104,7 @@ export function TextField(props: TextFieldProps) {
onClick={handleCopy}
tabIndex={-1}
data-slot="input-copy-button"
- aria-label={copied() ? i18n.t("ui.textField.copied") : i18n.t("ui.textField.copyToClipboard")}
+ aria-label={copied() ? i18n.t("ui.textField.copied") : i18n.t("ui.textField.copyLink")}
/>
</Tooltip>
</Show>