mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-09-10 22:41:14 +00:00
feat(ui): Make mode selection dropdowns responsive (#6422)
This commit is contained in:
parent
a921d059e1
commit
4e8b17486b
1 changed files with 3 additions and 3 deletions
|
|
@ -615,9 +615,9 @@ const ModesView = ({ onDone }: ModesViewProps) => {
|
|||
variant="combobox"
|
||||
role="combobox"
|
||||
aria-expanded={open}
|
||||
className="justify-between w-60"
|
||||
className="justify-between w-full"
|
||||
data-testid="mode-select-trigger">
|
||||
<div>{getCurrentMode()?.name || t("prompts:modes.selectMode")}</div>
|
||||
<div className="truncate">{getCurrentMode()?.name || t("prompts:modes.selectMode")}</div>
|
||||
<ChevronDown className="opacity-50" />
|
||||
</Button>
|
||||
</PopoverTrigger>
|
||||
|
|
@ -716,7 +716,7 @@ const ModesView = ({ onDone }: ModesViewProps) => {
|
|||
text: value,
|
||||
})
|
||||
}}>
|
||||
<SelectTrigger className="w-60">
|
||||
<SelectTrigger className="w-full">
|
||||
<SelectValue placeholder={t("settings:common.select")} />
|
||||
</SelectTrigger>
|
||||
<SelectContent>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue