Use Cmd/Ctrl+Enter to send prompts and update docs

This commit is contained in:
Shantur Rathore
2025-11-03 10:59:32 +00:00
parent 40832ec1b6
commit 618729e1e3
12 changed files with 127 additions and 73 deletions

View File

@@ -99,13 +99,13 @@ export function Markdown(props: MarkdownProps) {
})
const proseClass = () => {
const classes = ["prose", "dark:prose-invert", "max-w-none"]
const classes = ["dark:prose-invert", "max-w-none", "prose-tight", "prose"]
if (props.size === "tight") {
classes.push("prose-sm", "prose-tight")
} else if (props.size === "sm") {
classes.push("prose-sm")
}
// if (props.size === "tight") {
// classes.push("prose-sm", "prose-tight")
// } else if (props.size === "sm") {
// classes.push("prose-sm")
// }
return classes.join(" ")
}