Merge pull request #1859 from deepseek-harness/fix/hero-preview-badge

feat(web): change preview badge position
This commit is contained in:
imccyu
2026-08-07 19:29:54 +08:00
committed by GitHub
6 changed files with 23 additions and 15 deletions

View File

@@ -4,7 +4,7 @@
* The shell renders the surrounding chrome (button, nav heading row) and
* reads each entry's `label` option for aria text.
*/
import { IconSettingsOutline14 } from '@deepseek-ai/dsh-client-ui-primitives'
import { IconSettingsOutline14, IconSettingsOutline16 } from '@deepseek-ai/dsh-client-ui-primitives'
import type { PropsLocale, PropsRuntime } from '@deepseek-ai/dsh-client-ui-slots'
import css from './chrome.module.css'
@@ -22,7 +22,7 @@ export type HeaderContentProps = PropsRuntime<'settings.header'> & PropsLocale<'
export function TriggerContent({ wide, t }: TriggerContentProps) {
return (
<>
<IconSettingsOutline14 size={wide ? 14 : 18} />
{wide ? <IconSettingsOutline16 size={16} /> : <IconSettingsOutline14 size={18} />}
{wide && <span className={css.triggerLabel}>{t('trigger')}</span>}
</>
)