mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-08-04 06:52:47 +00:00
fix(client): keep Input border static on pointer focus
The pointer-focus override in Field.css used border-color: var(--border-light), which became an invalid value after the theme moved to RGB channel tokens and was silently dropped, letting the border fall back to currentColor (text-primary) on mouse focus. Wrap it in rgb() so mouse focus produces no border, ring, or outline change; keyboard focus keeps its ring for accessibility.
This commit is contained in:
parent
9a68fe6da0
commit
e7c01ff6bf
1 changed files with 1 additions and 1 deletions
|
|
@ -5,7 +5,7 @@
|
|||
attribute is absent and the ring always shows — the safe fallback. */
|
||||
html[data-input-modality='pointer'] .lc-field:focus,
|
||||
html[data-input-modality='pointer'] .lc-field:focus-visible {
|
||||
border-color: var(--border-light);
|
||||
border-color: rgb(var(--border-light));
|
||||
box-shadow: none;
|
||||
outline: none;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue