@devries-cameron20 / t3code-1 / commits / 7d7db0cbc3
Fork 0

The best way to control Claude Code, Codex and more from any computer or phone

fix(web): remove gaps between permission options (#26514)

Co-authored-by: maria-rcks <maria@kuuro.net>

Adamulek123 committed Oct 31, 2026 at 02:40 UTC 7d7db0cbc3265361823eae33dd7a09689cc7429c
1 file changed +2 -2
apps/web/src/components/chat/ComposerFooterControls.tsx
+2 -2
@@ -182,7 +182,7 @@ export function ComposerPermissionsSection(props: {
182 onValueChange={(value: RuntimeMode) => {
183 if (value !== props.runtimeMode) props.onRuntimeModeChange(value);
184 }}
185 - className="flex gap-0.5 rounded-lg bg-input/40 p-0.5"
185 + className="flex rounded-lg bg-input/40 p-0.5"
186 // Menus navigate with Up/Down only; the row reads horizontally, so Left/Right move too.
187 onKeyDown={(event) => {
188 if (event.key !== "ArrowLeft" && event.key !== "ArrowRight") return;
@@ -211,7 +211,7 @@ export function ComposerPermissionsSection(props: {
211 onPointerLeave={() => setPreviewMode(null)}
212 onFocus={() => setPreviewMode(option.mode)}
213 onBlur={() => setPreviewMode(null)}
214 - className="flex h-6 flex-1 cursor-pointer items-center justify-center rounded-md text-muted-foreground outline-none data-checked:bg-input/72 data-checked:text-foreground data-highlighted:text-foreground not-data-checked:data-highlighted:bg-accent focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-inset"
214 + className="flex h-6 flex-1 cursor-pointer items-center justify-center text-muted-foreground outline-none first:rounded-l-md last:rounded-r-md data-checked:bg-input/72 data-checked:text-foreground data-highlighted:text-foreground not-data-checked:data-highlighted:bg-accent focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-inset"
215 >
216 <OptionIcon aria-hidden="true" className="size-3.5" />
217 </MenuPrimitive.RadioItem>