diff options
| author | Jay V <[email protected]> | 2025-07-15 18:25:25 -0400 |
|---|---|---|
| committer | Jay V <[email protected]> | 2025-07-15 18:25:25 -0400 |
| commit | bb155db8b2013433676d43608c2d9d5b1e312c11 (patch) | |
| tree | 9e2b22d360e7fc29545260c1c5f4ba1f26b143cf /packages/web/src/components/share/part.module.css | |
| parent | 7c91f668d1b8faa7ec373145ce0e2e351118dbe8 (diff) | |
| download | opencode-bb155db8b2013433676d43608c2d9d5b1e312c11.tar.gz opencode-bb155db8b2013433676d43608c2d9d5b1e312c11.zip | |
docs: share tweak copy button
Diffstat (limited to 'packages/web/src/components/share/part.module.css')
| -rw-r--r-- | packages/web/src/components/share/part.module.css | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/packages/web/src/components/share/part.module.css b/packages/web/src/components/share/part.module.css index 8b1a8c25b..ffae0c3b7 100644 --- a/packages/web/src/components/share/part.module.css +++ b/packages/web/src/components/share/part.module.css @@ -142,6 +142,12 @@ border: 1px solid var(--sl-color-blue-high); padding: 0.5rem calc(0.5rem + 3px); border-radius: 0.25rem; + position: relative; + + [data-component="copy-button"] { + top: 0.5rem; + right: calc(0.5rem - 1px); + } } } @@ -264,6 +270,12 @@ border: 1px solid var(--sl-color-divider); padding: 0.5rem calc(0.5rem + 3px); border-radius: 0.25rem; + position: relative; + + [data-component="copy-button"] { + top: 0.5rem; + right: calc(0.5rem - 1px); + } } } } |
