mirror of
https://github.com/qingchencloud/clawpanel.git
synced 2026-05-30 04:40:18 +08:00
fix(hermes): stabilize chat health banner
This commit is contained in:
@@ -19,6 +19,7 @@ import { api, invalidate } from '../../../lib/tauri-api.js'
|
||||
import { toast } from '../../../components/toast.js'
|
||||
import { showConfirm } from '../../../components/modal.js'
|
||||
import { getChatStore, getSourceLabel } from '../lib/chat-store.js'
|
||||
import { svgIcon } from '../lib/svg-icons.js'
|
||||
import { t } from '../../../lib/i18n.js'
|
||||
|
||||
// ----------------------------------------------------------- helpers
|
||||
|
||||
@@ -4617,14 +4617,21 @@ body[data-active-engine="hermes"][data-theme="dark"] {
|
||||
}
|
||||
[data-engine="hermes"] .hm-chat-health-action {
|
||||
flex-shrink: 0;
|
||||
padding: 4px 12px;
|
||||
min-width: 44px;
|
||||
min-height: 44px;
|
||||
padding: 0 14px;
|
||||
border-radius: 999px;
|
||||
color: inherit;
|
||||
text-decoration: none;
|
||||
font-weight: 500;
|
||||
font-size: 12px;
|
||||
line-height: 1.2;
|
||||
border: 1px solid currentColor;
|
||||
background: transparent;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
box-sizing: border-box;
|
||||
transition: background 0.16s ease, color 0.16s ease;
|
||||
}
|
||||
[data-engine="hermes"] .hm-chat-health-action:hover {
|
||||
|
||||
Reference in New Issue
Block a user