The best way to control Claude Code, Codex and more from any computer or phone
Mirrored from https://github.com/Camo67/t3code.git
Synced Nov 21, 13:30 UTC
fix(web): showing a composer banner no longer makes the page restyle everything until reload (#34537)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Co-authored-by: maria-rcks <maria@kuuro.net> Co-authored-by: Julius Marminge <julius0216@outlook.com>
Alex Vallone committed
Nov 14, 2026 at 13:08 UTC
37c266d25a8dddf115317409db1d6e3cd593547f
4 files changed
+3
-4
apps/web/src/components/chat/ComposerBanner.tsx
-1
@@ -78,7 +78,6 @@ function Attachment({ className, ...props }: ComponentProps<"div">) {
78
className={cn(
79
"mx-auto -mb-[calc(1rem+1px)] w-[calc(100%-2*var(--chat-composer-drawer-inset))]",
80
"[&+[data-slot=composer-banner-attachment]_[data-composer-banner-surface=attached]]:before:rounded-none [&+[data-slot=composer-banner-attachment]_[data-composer-banner-surface=attached]]:before:border-t-0 [&+[data-slot=composer-banner-attachment]_[data-composer-banner-surface=attached]]:[--composer-banner-corner-top:var(--control-radius)]",
81
- "[&+*_[data-chat-composer-form]>[data-slot=composer-banner-attachment]:first-child_[data-composer-banner-surface=attached]]:before:rounded-none [&+*_[data-chat-composer-form]>[data-slot=composer-banner-attachment]:first-child_[data-composer-banner-surface=attached]]:before:border-t-0 [&+*_[data-chat-composer-form]>[data-slot=composer-banner-attachment]:first-child_[data-composer-banner-surface=attached]]:[--composer-banner-corner-top:var(--control-radius)]",
81
className,
82
)}
83
{...props}
apps/web/src/components/settings/AdvancedSettings.tsx
+1
-1
@@ -33,7 +33,7 @@ export function AdvancedSettings({
33
Advanced
34
</CollapsibleTrigger>
35
<CollapsiblePanel>
36
- <div className="border-t border-border/50 [&>*+*]:border-t [&>*+*]:border-border/50">
36
+ <div className="border-t border-border/50 *:not-first:border-t *:not-first:border-border/50">
37
{children}
38
</div>
39
</CollapsiblePanel>
apps/web/src/components/settings/FoldedSettingsSection.tsx
+1
-1
@@ -92,7 +92,7 @@ export function FoldedSettingsSection({
92
<div className="border-t border-border/50 empty:hidden">{collapsedContent}</div>
93
) : null}
94
<CollapsiblePanel>
95
- <div className="border-t border-border/50 [&>*+*]:border-t [&>*+*]:border-border/50">
95
+ <div className="border-t border-border/50 *:not-first:border-t *:not-first:border-border/50">
96
{children}
97
</div>
98
</CollapsiblePanel>
apps/web/src/components/settings/SettingsGroup.tsx
+1
-1
@@ -22,7 +22,7 @@ export function SettingsGroup({
22
: "space-y-1",
23
variant === "grouped" &&
24
divided &&
25
- "[&>*+*]:border-t [&>*+*]:border-border/50 [&>[data-slot=settings-row]]:rounded-none",
25
+ "*:not-first:border-t *:not-first:border-border/50 [&>[data-slot=settings-row]]:rounded-none",
26
className,
27
)}
28
/>