Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 34 additions & 1 deletion apps/web/src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -453,6 +453,10 @@ html[data-mobile-composer-route-transition="true"]::view-transition-old(t3-mobil
inset: 0;
border: 1px solid var(--chat-composer-outline);
border-radius: inherit;
content: "";
}

.chat-composer-glass-shell-with-context .chat-composer-glass-host::after {
/* Keep the attachment seam open; the strip continues the outer outline below. */
clip-path: polygon(
0 0,
Expand All @@ -464,7 +468,6 @@ html[data-mobile-composer-route-transition="true"]::view-transition-old(t3-mobil
22px 100%,
0 100%
);
content: "";
}

.chat-composer-context-strip {
Expand Down Expand Up @@ -512,6 +515,36 @@ html[data-mobile-composer-route-transition="true"]::view-transition-old(t3-mobil
box-shadow: 0 14px 32px -18px rgb(0 0 0 / 75%);
}

@supports not (clip-path: shape(from 0 0, line to 1px 1px)) {
.chat-composer-glass-shell-with-context::before {
inset-block-end: var(--chat-composer-context-extension);
border-radius: 22px;
clip-path: none;
}

.chat-composer-context-strip::before {
background: color-mix(
in srgb,
var(--chat-composer-glass-surface) var(--glass-opacity),
transparent
);
-webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturation));
backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturation));
}

.dark .chat-composer-context-strip::before {
background:
linear-gradient(
to bottom,
transparent 0 1rem,
rgb(0 0 0 / 18%) 1rem,
transparent calc(1rem + 10px)
),
linear-gradient(rgb(255 255 255 / 2%), rgb(255 255 255 / 2%)),
color-mix(in srgb, var(--chat-composer-glass-surface) var(--glass-opacity), transparent);
}
}

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shape fallback leaves composer notch

Medium Severity

The @supports not (clip-path: shape(...)) block restores separate rounded glass for the shell and context strip, but .chat-composer-glass-shell-with-context .chat-composer-glass-host::after still applies its clip-path polygon notch. Browsers without shape() therefore keep a cut-out composer bottom outline instead of a complete border matching the stated two-panel fallback.

Additional Locations (1)
Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit bf724ed. Configure here.


.alert-glass {
--alert-glass-tint: transparent;

Expand Down
Loading