-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Remove chevrons from chat buttons #7970
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -1191,7 +1191,7 @@ export const ChatTextArea = forwardRef<HTMLTextAreaElement, ChatTextAreaProps>( | |
| disabled={selectApiConfigDisabled} | ||
| title={t("chat:selectApiConfig")} | ||
| onChange={handleApiConfigChange} | ||
| triggerClassName="min-w-16 text-ellipsis overflow-hidden" | ||
| triggerClassName="min-w-13 text-ellipsis overflow-hidden" | ||
|
||
| listApiConfigMeta={listApiConfigMeta || []} | ||
| pinnedApiConfigs={pinnedApiConfigs} | ||
| togglePinnedApiConfig={togglePinnedApiConfig} | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,6 @@ | ||
| import React from "react" | ||
| import { Fzf } from "fzf" | ||
| import { ChevronUp, Check, X } from "lucide-react" | ||
| import { Check, X } from "lucide-react" | ||
|
|
||
| import { type ModeConfig, type CustomModePrompts, TelemetryEventName } from "@roo-code/types" | ||
|
|
||
|
|
@@ -198,7 +198,7 @@ export const ModeSelector = ({ | |
| disabled={disabled} | ||
| data-testid="mode-selector-trigger" | ||
| className={cn( | ||
| "inline-flex items-center gap-1.5 relative whitespace-nowrap px-1.5 py-1 text-xs", | ||
| "inline-flex items-center relative whitespace-nowrap px-1.5 py-1 text-xs", | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Similar to ApiConfigSelector, the |
||
| "bg-transparent border border-[rgba(255,255,255,0.08)] rounded-md text-vscode-foreground", | ||
| "transition-all duration-150 focus:outline-none focus-visible:ring-1 focus-visible:ring-vscode-focusBorder focus-visible:ring-inset", | ||
| disabled | ||
|
|
@@ -209,12 +209,6 @@ export const ModeSelector = ({ | |
| ? "bg-primary opacity-90 hover:bg-primary-hover text-vscode-button-foreground" | ||
| : null, | ||
| )}> | ||
| <ChevronUp | ||
| className={cn( | ||
| "pointer-events-none opacity-80 flex-shrink-0 size-3 transition-transform duration-200", | ||
| open && "rotate-180", | ||
| )} | ||
| /> | ||
| <span className="truncate">{selectedMode?.name || ""}</span> | ||
| </PopoverTrigger> | ||
| </StandardTooltip> | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I noticed the
gap-1.5class was removed along with the chevron icon. Since the component still usesinline-flex items-center, was removing the gap intentional? Just want to ensure we maintain consistent spacing if any elements are added in the future.