mirror of
https://github.com/anomalyco/opencode.git
synced 2026-11-16 13:05:14 +03:00
fix(app): calmer background shell pill (#59480)
This commit is contained in:
committed by
GitHub
Unverified
parent
ced73dc0f6
commit
6f8029246a
@@ -55,12 +55,6 @@
|
||||
background: var(--v2-background-bg-layer-01);
|
||||
text-align: start;
|
||||
|
||||
/* Match the queue panel's inset-ring pattern inside a clipped scrollport. */
|
||||
:is([data-component="menu-v2-item"], [data-component="icon-button-v2"]):is(:focus-visible, [data-state="focus"]) {
|
||||
outline: 2px solid var(--v2-border-border-focus);
|
||||
outline-offset: -2px;
|
||||
}
|
||||
|
||||
[data-slot="menu-v2-item-content"] > span[dir] {
|
||||
text-align: match-parent;
|
||||
unicode-bidi: isolate;
|
||||
|
||||
@@ -167,7 +167,7 @@ export function SessionActivityChips(props: {
|
||||
const row = event.target.closest<HTMLElement>('[data-component="menu-v2-item"]')
|
||||
|
||||
if (!row) return
|
||||
// Kobalte's scroll adjustment ignores scroll-padding; native scrolling keeps the ring clear of the edge.
|
||||
// Kobalte's scroll adjustment ignores scroll-padding; native scrolling keeps the row clear of the edge.
|
||||
queueMicrotask(() => row.scrollIntoView({ block: "nearest", inline: "nearest" }))
|
||||
}}
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user