fix(session-ui): align code copy tooltip with v2 style (#34459)

Co-authored-by: Jay <53023+jayair@users.noreply.github.com>
Co-authored-by: opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com>
This commit is contained in:
opencode-agent[bot] 2026-06-30 17:01:38 +08:00 committed by GitHub
parent 90f0576222
commit 1982d9832b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -327,6 +327,29 @@
}
}
body[data-new-layout] [data-component="markdown"] {
[data-slot="markdown-copy-button"]::after {
box-sizing: border-box;
display: inline-flex;
flex-direction: row;
align-items: center;
gap: 6px;
padding: 5px 6px;
border: 0;
border-radius: 4px;
background: var(--v2-background-bg-layer-01);
box-shadow: var(--v2-elevation-floating);
color: var(--v2-text-text-base);
user-select: none;
font-size: 11px;
font-weight: 530;
line-height: 12px;
letter-spacing: 0.05px;
font-variant-numeric: tabular-nums;
font-variation-settings: "slnt" 0;
}
}
body:not([data-new-layout]) [data-component="markdown"] {
color: var(--text-strong);