fix(web): chat text no longer shows through a 1px gap under composer banners #8551
main fromrefs/pull/8551/headopened View on GitHubgithub-actions[bot](GitHub profile, opens in a new tab) added labelsvouch:unvouched
github-actions[bot](GitHub profile, opens in a new tab) added labelssize:M
- apps/web/src/index.css lines 1137 to 1142OutdatedResolvedby vitalyiegorov(GitHub profile, opens in a new tab)@@ -1106,0 +1122,21 @@1122+ [data-chat-composer-main-frame="true"]::before {1123+ pointer-events: none;1124+ position: absolute;1125+ z-index: 20;1126+ /* Inside the drawer's own 1px outline, so the outline still runs all the1127+ way down to the seam. */1128+ right: calc(var(--chat-composer-drawer-inset) + 1px);1129+ /* Runs 1px past the composer's own top edge: the strip is a separate box, so1130+ its bottom rounds to the device grid on its own and must not stop a row1131+ short of the surface it is sealing. */1132+ bottom: calc(100% - 1px);1133+ left: calc(var(--chat-composer-drawer-inset) + 1px);1134+ height: 3px;1135+ /* The shade carries the drawer's attachment shadow at its darkest, so the1136+ strip reads as the same surface rather than a lighter nick. */1137+ background:1138+ linear-gradient(1139+ var(--chat-composer-attachment-seal-shade),1140+ var(--chat-composer-attachment-seal-shade)1141+ ),1142+ var(--chat-composer-glass-surface);
- apps/web/src/index.css lines 1126 to 1131OutdatedResolvedby macroscopeapp[bot](GitHub profile, opens in a new tab)@@ -1106,0 +1111,21 @@1111+ box lands off the pixel grid, taking the drawer's surface with it. This1112+ repaints that row, after the filtered backdrop, across the drawer's width. */1113+ .chat-composer-glass-shell:is(1114+ .chat-composer-glass-shell-attached,1115+ :has(.chat-composer-top-drawer)1116+ )1117+ .chat-composer-glass-host1118+ [data-chat-composer-main-frame="true"]::before {1119+ pointer-events: none;1120+ position: absolute;1121+ z-index: 20;1122+ right: calc(var(--chat-composer-drawer-inset) + 1px);1123+ bottom: calc(100% - 1px);1124+ left: calc(var(--chat-composer-drawer-inset) + 1px);1125+ height: 3px;1126+ background:1127+ linear-gradient(1128+ var(--chat-composer-attachment-seal-shade),1129+ var(--chat-composer-attachment-seal-shade)1130+ ),1131+ var(--chat-composer-glass-surface);
github-actions[bot](GitHub profile, opens in a new tab) removed labelssize:M
github-actions[bot](GitHub profile, opens in a new tab) added labelssize:S
- @@ -1106,0 +1110,21 @@1110+ repaints that row, after the filtered backdrop, across the drawer's width. */1111+ .chat-composer-glass-shell:is(1112+ .chat-composer-glass-shell-attached,1113+ :has(.chat-composer-top-drawer)1114+ )1115+ .chat-composer-glass-host1116+ [data-chat-composer-main-frame="true"]::before {1117+ pointer-events: none;1118+ position: absolute;1119+ z-index: 20;1120+ right: calc(var(--chat-composer-drawer-inset) + 1px);1121+ bottom: calc(100% - 1px);1122+ left: calc(var(--chat-composer-drawer-inset) + 1px);1123+ height: 3px;1124+ background: var(--chat-composer-glass-surface);1125+ content: "";1126+1127+ @variant dark {1128+ background:1129+ linear-gradient(rgb(0 0 0 / 18%), rgb(0 0 0 / 18%)), var(--chat-composer-glass-surface);1130+ }
vitalyiegorov(GitHub profile, opens in a new tab) reopened this
github-actions[bot](GitHub profile, opens in a new tab) removed labelssize:S
github-actions[bot](GitHub profile, opens in a new tab) added labelssize:XS
github-actions[bot](GitHub profile, opens in a new tab) removed labelsvouch:unvouched
github-actions[bot](GitHub profile, opens in a new tab) added labelsvouch:trusted
vitalyiegorov(GitHub profile, opens in a new tab) changed the title
juliusmarminge closed this
Sign in to join this conversation.


No actionable comments were generated in the recent review. 🎉
ℹ️ Recent review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Team
Run ID:
6bb76dd5-308f-4ce0-a0b7-cd447a01d6ab📥 Commits
Reviewing files that changed from the base of the PR and between 6abdf37a50ce6c1c9fabc499f4d0e159a6182d90 and 410f549bedfdfbe52f08b54f21fbea1f175b427d.
📒 Files selected for processing (1)
apps/web/src/components/chat/ComposerBanner.tsxIncluded review availability: Your plan provides up to 10 included reviews per hour; 7 remain after this review.
📝 Walkthrough
Walkthrough#
The attached composer surface mask now ends one pixel before the seam. A comment documents the Chromium device-pixel bleed that caused the backdrop-filter row to disappear.
Changes#
Composer seam rendering
apps/web/src/components/chat/ComposerBanner.tsxcalc(var(--chat-composer-attachment-overlap)-1px). A comment documents the device-pixel bleed.Estimated code review effort: 1 (Trivial) | ~2 minutes
Merge Risk: ⚪ Minimal · up to
4bcb1The attached composer banner mask now covers the device-pixel seam with the composer, preventing background chat text from appearing through the join. No current merge-blocking risk remains.
Suggested reviewers:
maria-rcks,juliusmarminge,bil0000🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
#8546by covering the previously unpainted device-pixel row and preventing crisp chat text from showing through the seam.✨ Finishing Touches
🧪 Generate unit tests (beta)
Comment `@coderabbitai help` to get the list of available commands.