Skip to content

fix(ui): keep message action tooltips inside the chat - #441

Merged
Qiyuanqiii merged 1 commit into
Qiyuanqiii/runtime-security-octoberfrom
Qiyuanqiii/message-tooltip-width
Oct 23, 2026
Merged

Qiyuanqiii merged 1 commit into
Qiyuanqiii/runtime-security-octoberfrom
Qiyuanqiii/message-tooltip-width

Conversation

@Qiyuanqiii

Copy link
Copy Markdown
Member

用户消息靠右显示,操作提示仍向右展开,导致隐藏的提示也撑宽聊天滚动区域,悬停或键盘聚焦时文字被裁切。现在将这些提示锚定在按钮右侧并向左展开;生产改动为一条 CSS。

基于 #439。Windows / Edge 的真实生产页面使用同一份已保存聊天对照:中文在 600/390px 下的横向溢出为 21px,英文为 104px,修改后均为 0。逐一验证隐藏、悬停和 Tab 聚焦状态;真实保存的长代码块仍可独立横向滚动。npm run build 通过;未验证原生打包窗口。

600px 中文:修改前 修改后
before after
390px English:修改前 修改后
before after

页面验证、完整尺寸记录与代码块截图。

Base automatically changed from Qiyuanqiii/message-timestamps to Qiyuanqiii/runtime-security-october October 23, 2026 17:11
@Qiyuanqiii
Qiyuanqiii merged commit 521cde7 into Qiyuanqiii/runtime-security-october Oct 23, 2026
23 checks passed
@Qiyuanqiii
Qiyuanqiii deleted the Qiyuanqiii/message-tooltip-width branch October 23, 2026 17:15
Qiyuanqiii added a commit that referenced this pull request Oct 23, 2026
…ntime-security-october

feat(chat): 消息时间戳与操作提示边界(#439 #441)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant