diff --git a/packages/client/ui-theme/README.i18n.yaml b/packages/client/ui-theme/README.i18n.yaml index d43013485d..8132c2d818 100644 --- a/packages/client/ui-theme/README.i18n.yaml +++ b/packages/client/ui-theme/README.i18n.yaml @@ -30,8 +30,8 @@ en: 18f62cd5e6d32570 zh: 728ddd17d7610470 /deepseek-ai-dsh-client-ui-theme/understand-the-implementation: - en: de2e61c0e342c637 - zh: b1bf19c75153f3d9 + en: 875bd262240187c1 + zh: 32ffb98f502ed042 /deepseek-ai-dsh-client-ui-theme/understand-the-implementation/stylesheets: en: 148903d8cd6580f5 zh: 7ff2ff90954798b8 diff --git a/packages/client/ui-theme/README.md b/packages/client/ui-theme/README.md index 718516cf3d..744ffc1582 100644 --- a/packages/client/ui-theme/README.md +++ b/packages/client/ui-theme/README.md @@ -57,7 +57,7 @@ Shared menus use `--dsw-menu-surface-fill` and blur through `MenuSurface`; platf
Implementation internals — click to expand -Font-size controls reserve the same disclosure column for every role, so expanded code and terminal values align with the text value. +Font-size controls align their actual content to the row’s right edge. Code and terminal rows end at the px unit without reserving space for the text row’s disclosure button. The service owns theme, font-size, and font-family state and publishes snapshots. The ui-layout presenter applies those snapshots, and the token sheets own the color and conversation text scales. diff --git a/packages/client/ui-theme/README.zh.md b/packages/client/ui-theme/README.zh.md index 58c4e2364e..f05b05b99a 100644 --- a/packages/client/ui-theme/README.zh.md +++ b/packages/client/ui-theme/README.zh.md @@ -57,7 +57,7 @@ Desktop 的固定快捷键 `Cmd`/`Ctrl` + `+`(或 `=`)和 `Cmd`/`Ctrl` + `-`
实现细节——点击展开 -各字体字号控件预留相同的展开操作列,使展开后的代码、终端数值与正文字号对齐。 +字号控件按实际内容与行的右边缘对齐。代码和终端字号以 px 单位结束,不为正文字号的展开按钮预留空位。 服务拥有主题、字号与字体状态并发布快照。ui-layout 展示转换器应用这些快照,token 样式表则拥有颜色与会话文本尺度。 diff --git a/packages/client/ui-theme/src/client/FontSizeRow.module.css b/packages/client/ui-theme/src/client/FontSizeRow.module.css index f51ad6e54b..e5a26d5472 100644 --- a/packages/client/ui-theme/src/client/FontSizeRow.module.css +++ b/packages/client/ui-theme/src/client/FontSizeRow.module.css @@ -52,8 +52,7 @@ /* Standard-size stepper with an always-visible arrow column and an external unit label. */ .control { - display: inline-grid; - grid-template-columns: 72px max-content 24px; + display: inline-flex; align-items: center; gap: 8px; }