diff --git a/.changeset/tricky-rabbits-glow.md b/.changeset/tricky-rabbits-glow.md new file mode 100644 index 000000000000..8758fa1a58c0 --- /dev/null +++ b/.changeset/tricky-rabbits-glow.md @@ -0,0 +1,6 @@ +--- +"@gradio/chatbot": patch +"gradio": patch +--- + +fix:Fix share button position diff --git a/js/chatbot/static/ChatBot.svelte b/js/chatbot/static/ChatBot.svelte index 7a18e5fcfd3d..e24f303a7633 100644 --- a/js/chatbot/static/ChatBot.svelte +++ b/js/chatbot/static/ChatBot.svelte @@ -96,7 +96,7 @@ {#if show_share_button && value !== null && value.length > 0} -
+
+
{/if} @@ -347,10 +347,15 @@ .message-buttons-fit { margin-right: 0px; } - .icon-button { + .copy-button { margin-top: -10px; margin-bottom: -10px; } + .share-button { + position: absolute; + top: 4px; + right: 6px; + } .like { display: flex; height: var(--size-8);