fix(web): normalize context meter hover and prevent logo double-click selection

This commit is contained in:
qer 2026-06-10 11:43:32 +08:00 committed by haozhe.yang
parent 39f8b6b4e0
commit d657a59ff6
5 changed files with 12 additions and 5 deletions

View 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.

View file

@ -0,0 +1,5 @@
---
"@moonshot-ai/kimi-web": patch
---
Prevent text selection when double-clicking the Kimi Code logo in the sidebar.

View file

@ -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 {

View file

@ -616,6 +616,7 @@ function blinkOnce(): void {
width: auto;
display: block;
cursor: pointer;
user-select: none;
}
.ch-name {
font-size: 12.5px;

View file

@ -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;