mirror of
https://github.com/stack-auth/stack.git
synced 2026-06-13 21:01:21 +08:00
Polish analytics query editor surface.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
a27e4d9bb5
commit
695131efbf
@ -612,7 +612,7 @@ function QueriesContent() {
|
||||
value={sqlQuery}
|
||||
onChange={(e) => setSqlQuery(e.target.value)}
|
||||
placeholder="SELECT * FROM default.events ORDER BY event_at DESC LIMIT 100"
|
||||
className="font-mono text-sm min-h-[80px] resize-y bg-background/60"
|
||||
className="min-h-[80px] resize-y border-black/[0.08] bg-white/95 font-mono text-sm shadow-sm ring-1 ring-black/[0.06] dark:border-border/40 dark:bg-background/60 dark:ring-white/[0.06]"
|
||||
onKeyDown={(e) => {
|
||||
if (e.key === "Enter" && (e.metaKey || e.ctrlKey) && !loading) {
|
||||
e.preventDefault();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user