mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-09-05 08:10:14 +00:00
Merge pull request #732 from RooVetGit/fix_mode_wrapping
Make list of modes multi-line on the prompts page
This commit is contained in:
commit
cddd92b0ad
2 changed files with 11 additions and 10 deletions
5
.changeset/breezy-badgers-refuse.md
Normal file
5
.changeset/breezy-badgers-refuse.md
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
"roo-cline": patch
|
||||
---
|
||||
|
||||
Visual cleanup to the list of modes on the prompts tab
|
||||
|
|
@ -472,13 +472,11 @@ const PromptsView = ({ onDone }: PromptsViewProps) => {
|
|||
<div
|
||||
style={{
|
||||
display: "flex",
|
||||
gap: "16px",
|
||||
gap: "8px",
|
||||
alignItems: "center",
|
||||
marginBottom: "12px",
|
||||
overflowX: "auto",
|
||||
flexWrap: "nowrap",
|
||||
paddingBottom: "4px",
|
||||
paddingRight: "20px",
|
||||
flexWrap: "wrap",
|
||||
padding: "4px 0",
|
||||
}}>
|
||||
{modes.map((modeConfig) => {
|
||||
const isActive = mode === modeConfig.slug
|
||||
|
|
@ -859,13 +857,11 @@ const PromptsView = ({ onDone }: PromptsViewProps) => {
|
|||
<div
|
||||
style={{
|
||||
display: "flex",
|
||||
gap: "16px",
|
||||
gap: "8px",
|
||||
alignItems: "center",
|
||||
marginBottom: "12px",
|
||||
overflowX: "auto",
|
||||
flexWrap: "nowrap",
|
||||
paddingBottom: "4px",
|
||||
paddingRight: "20px",
|
||||
flexWrap: "wrap",
|
||||
padding: "4px 0",
|
||||
}}>
|
||||
{Object.keys(supportPrompt.default).map((type) => (
|
||||
<button
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue