Repository navigation
Conversation
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 110a2de64f
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| </p> | ||
| <p | ||
| v-if="title" | ||
| class="break-words font-medium text-foreground" |
There was a problem hiding this comment.
Allow the title flex item to shrink before wrapping
When title contains a long unbroken value such as a URL, identifier, or filename, the new flex wrapper makes the <p> a flex item with the default min-width: auto. Its min-content width prevents it from shrinking to the banner's available width, so break-words no longer keeps the title inside the surface and it can overflow into the dismiss/action area. Previously the paragraph was a normal block and wrapped within its parent. Add min-w-0 to the title flex item or use a wrapping rule that also reduces its min-content width.
Useful? React with 👍 / 👎.
关联 Issue
改动内容
CalloutBanner默认页面级表面重构(size="default"):bg-card+ 浅色border-border/ 深色无框dark:border-0,rounded-menu-shell),避免在点阵等背景上透底发粉。tag?: string属性:传入语义标文案时在标题旁渲染rounded-sm轻量语义标并隐藏左侧状态图标,消除图标与中英文字体的光学比例冲突;未传tag的存量调用点保留原图标兜底以维持语义兼容。ToastAction新增dismissOnClick?: boolean(默认true):dismissOnClick设为false,点击按钮后保持当前报错 Toast 常驻不关闭,不影响现有跳转/撤销类按钮的默认关闭行为。验证结果
pnpm --filter @felinic/ui type-check(vue-tsc --build)、ESLint、UI 契约守卫检查均通过。CalloutBanner实色表面与ToastdismissOnClick: false行为(非人工 QA)。