From 7efc36c9d3e4addcc7c8bcd5d97cb596519531ee Mon Sep 17 00:00:00 2001 From: Hannah Date: Mon, 5 Aug 2024 23:44:13 +0100 Subject: [PATCH] add cursor styling (#9003) --- js/chatbot/shared/ChatBot.svelte | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/js/chatbot/shared/ChatBot.svelte b/js/chatbot/shared/ChatBot.svelte index f8cee4a26267d..38a8d89f5975f 100644 --- a/js/chatbot/shared/ChatBot.svelte +++ b/js/chatbot/shared/ChatBot.svelte @@ -17,7 +17,7 @@ import { Clear } from "@gradio/icons"; import type { SelectData, LikeData } from "@gradio/utils"; - import type { MessageRole, ComponentMessage, ComponentData } from "../types"; + import type { MessageRole } from "../types"; import { MarkdownCode as Markdown } from "@gradio/markdown"; import type { FileData, Client } from "@gradio/client"; import type { I18nFormatter } from "js/app/src/gradio_helper"; @@ -339,6 +339,7 @@ class:message-markdown-disabled={!render_markdown} style:user-select="text" class:selectable + style:cursor={selectable ? "pointer" : "default"} style:text-align={rtl ? "right" : "left"} on:click={() => handle_select(i, message)} on:keydown={(e) => {