Skip to content

Commit 7d7db0c

Browse files
fix(web): remove gaps between permission options (#26514)
Co-authored-by: maria-rcks <[email protected]>
1 parent f736543 commit 7d7db0c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎apps/web/src/components/chat/ComposerFooterControls.tsx‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ export function ComposerPermissionsSection(props: {
182182
onValueChange={(value: RuntimeMode) => {
183183
if (value !== props.runtimeMode) props.onRuntimeModeChange(value);
184184
}}
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"
186186
// Menus navigate with Up/Down only; the row reads horizontally, so Left/Right move too.
187187
onKeyDown={(event) => {
188188
if (event.key !== "ArrowLeft" && event.key !== "ArrowRight") return;
@@ -211,7 +211,7 @@ export function ComposerPermissionsSection(props: {
211211
onPointerLeave={() => setPreviewMode(null)}
212212
onFocus={() => setPreviewMode(option.mode)}
213213
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"
215215
>
216216
<OptionIcon aria-hidden="true" className="size-3.5" />
217217
</MenuPrimitive.RadioItem>

0 commit comments

Comments
 (0)