mirror of
https://github.com/pacnpal/Roo-Code.git
synced 2025-12-20 04:11:10 -05:00
Make list of modes multi-line on the prompts page
This commit is contained in:
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
|
<div
|
||||||
style={{
|
style={{
|
||||||
display: "flex",
|
display: "flex",
|
||||||
gap: "16px",
|
gap: "8px",
|
||||||
alignItems: "center",
|
alignItems: "center",
|
||||||
marginBottom: "12px",
|
marginBottom: "12px",
|
||||||
overflowX: "auto",
|
flexWrap: "wrap",
|
||||||
flexWrap: "nowrap",
|
padding: "4px 0",
|
||||||
paddingBottom: "4px",
|
|
||||||
paddingRight: "20px",
|
|
||||||
}}>
|
}}>
|
||||||
{modes.map((modeConfig) => {
|
{modes.map((modeConfig) => {
|
||||||
const isActive = mode === modeConfig.slug
|
const isActive = mode === modeConfig.slug
|
||||||
@@ -859,13 +857,11 @@ const PromptsView = ({ onDone }: PromptsViewProps) => {
|
|||||||
<div
|
<div
|
||||||
style={{
|
style={{
|
||||||
display: "flex",
|
display: "flex",
|
||||||
gap: "16px",
|
gap: "8px",
|
||||||
alignItems: "center",
|
alignItems: "center",
|
||||||
marginBottom: "12px",
|
marginBottom: "12px",
|
||||||
overflowX: "auto",
|
flexWrap: "wrap",
|
||||||
flexWrap: "nowrap",
|
padding: "4px 0",
|
||||||
paddingBottom: "4px",
|
|
||||||
paddingRight: "20px",
|
|
||||||
}}>
|
}}>
|
||||||
{Object.keys(supportPrompt.default).map((type) => (
|
{Object.keys(supportPrompt.default).map((type) => (
|
||||||
<button
|
<button
|
||||||
|
|||||||
Reference in New Issue
Block a user