Uh oh!
There was an error while loading. Please reload this page.
fix(ui): daily-review empty-state overlay + stale-session banner layout - #438
Merged
Conversation
…stale-session banner layout Round 2 of the visual screenshot audit: - daily-review: the .maka-daily-review-summary-empty override lived in @layer components, but the shared .maka-empty-state base is unlayered position:absolute centering — unlayered rules always beat layered ones, so the override silently never applied and the '等待记录今天活动' card rendered as a translucent overlay on top of the archived report text. Move the override out of the layer with panel-scoped specificity. - stale-session banner: the Alert primitive ships w-full, which plus the 14px horizontal margins made the banner 28px wider than the pane (right edge clipped against the card); align-items:center parked the warning icon on the middle of three lines; and AlertDescription's flex-col blockified the inline copy around <strong> into three stacked fragments. width:auto + flex-start + display:block restore a single inline-flowing line with the icon on it. Desktop suite green (1671 tests); before/after fixture screenshots verified for module-daily-review + stale-sessions.
This was referenced Jul 2, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for freeto join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Round 2 of the fixture-screenshot visual audit (follow-up to #436).
1. 每日回顾: empty state floated over the archived report
.maka-daily-review-summary-emptyoverrides the shared.maka-empty-statebase — but the override sat inside@layer componentswhile the base (onboarding.css:900,position: absolute+ translate centering) is unlayered. Unlayered rules always beat layered ones, so the override silently never applied: the「等待记录今天活动」card rendered as a translucent overlay on top of the report text.Fix: move the override out of the layer with panel-scoped specificity (
.maka-daily-review-panel .maka-daily-review-summary-empty).2. stale-session banner: clipped right edge, mis-anchored icon, shredded copy
Three stacked issues on
.maka-fake-backend-banner:w-full→ with 14px horizontal margins the banner was 28px wider than the pane, right edge clipped against the cardalign-items: centerparked theAlertDescriptionisflex flex-col, which blockified the inline copy around<strong>设置 · 模型</strong>into three stacked fragmentsFix:
width: auto+align-items: flex-start(the primitive's 1lh svg box then self-aligns to the first line) +display: blockon the description. The banner is now one inline-flowing sentence with a correctly anchored icon.Verification
npm --workspace @maka/desktop test: 1671/1671 pass