fix(ui): restore composer focus after CodeMirror migration
This commit is contained in:
@@ -109,22 +109,6 @@ html[data-oc-vibrancy] .oc-vibrancy-pill {
|
||||
}
|
||||
}
|
||||
|
||||
/* Suppress WebKit-specific hover/focus adornments on the chat textarea */
|
||||
textarea[data-chat-input="true"] {
|
||||
-webkit-appearance: none;
|
||||
background: transparent !important;
|
||||
border: none;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
textarea[data-chat-input="true"]:hover,
|
||||
textarea[data-chat-input="true"]:focus,
|
||||
textarea[data-chat-input="true"]:focus-visible {
|
||||
outline: none;
|
||||
border: none;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
/* Ensure interactive controls consistently show pointer cursor */
|
||||
:where(
|
||||
button,
|
||||
@@ -303,12 +287,12 @@ textarea[data-chat-input="true"]:focus-visible {
|
||||
color: color-mix(in srgb, var(--syntax-comment) 85%, var(--syntax-foreground) 15%);
|
||||
}
|
||||
|
||||
:root.vscode-runtime textarea[data-chat-input="true"]::placeholder {
|
||||
:root.vscode-runtime [data-chat-input="true"] .cm-placeholder {
|
||||
color: color-mix(in srgb, var(--vscode-input-placeholderForeground, var(--muted-foreground)) 65%, transparent);
|
||||
}
|
||||
|
||||
/* Match chat footer background to input in WebKit to avoid dual-tone hover/focus */
|
||||
[data-chat-input="true"] + div[data-chat-input-footer="true"] {
|
||||
div[data-chat-input-footer="true"] {
|
||||
background: transparent !important;
|
||||
border: none;
|
||||
box-shadow: none;
|
||||
|
||||
Reference in New Issue
Block a user