mirror of
https://github.com/MoonshotAI/kimi-code.git
synced 2026-08-29 12:03:40 +00:00
fix(web): normalize context meter hover and prevent logo double-click selection
This commit is contained in:
parent
39f8b6b4e0
commit
d657a59ff6
5 changed files with 12 additions and 5 deletions
5
.changeset/context-meter-hover-normalize.md
Normal file
5
.changeset/context-meter-hover-normalize.md
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
"@moonshot-ai/kimi-web": patch
|
||||
---
|
||||
|
||||
Remove the hover padding and help cursor from the context meter so it behaves like plain text.
|
||||
5
.changeset/logo-prevent-doubleclick-selection.md
Normal file
5
.changeset/logo-prevent-doubleclick-selection.md
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
"@moonshot-ai/kimi-web": patch
|
||||
---
|
||||
|
||||
Prevent text selection when double-clicking the Kimi Code logo in the sidebar.
|
||||
|
|
@ -1177,8 +1177,6 @@ function selectModel(modelId: string): void {
|
|||
align-items: center;
|
||||
gap: 5px;
|
||||
flex-shrink: 0;
|
||||
padding: 3px 2px;
|
||||
cursor: help;
|
||||
}
|
||||
|
||||
.ctx-bar-track {
|
||||
|
|
|
|||
|
|
@ -616,6 +616,7 @@ function blinkOnce(): void {
|
|||
width: auto;
|
||||
display: block;
|
||||
cursor: pointer;
|
||||
user-select: none;
|
||||
}
|
||||
.ch-name {
|
||||
font-size: 12.5px;
|
||||
|
|
|
|||
|
|
@ -260,9 +260,7 @@ html[data-theme="modern"] .ph {
|
|||
font-size: 13px;
|
||||
line-height: 1.5;
|
||||
}
|
||||
html[data-theme="modern"] .ctx-group {
|
||||
padding-bottom: 2px;
|
||||
}
|
||||
|
||||
html[data-theme="modern"] .send {
|
||||
width: 30px;
|
||||
min-width: 30px;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue