From bfbe273ffd58a3020c5a344d1563d61396486587 Mon Sep 17 00:00:00 2001 From: sabaimran Date: Fri, 17 Nov 2023 12:18:35 -0800 Subject: [PATCH] Add some styling to the copy button for programmatic output --- src/khoj/interface/web/chat.html | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/khoj/interface/web/chat.html b/src/khoj/interface/web/chat.html index 95118895..18a03403 100644 --- a/src/khoj/interface/web/chat.html +++ b/src/khoj/interface/web/chat.html @@ -665,6 +665,17 @@ To get started, just start typing below. You can also type / to see a list of co border-bottom: 1px dotted var(--main-text-color); } + button.copy-button { + display: block; + border-radius: 4px; + background-color: var(--background-color); + } + + button.copy-button:hover { + background: #f5f5f5; + cursor: pointer; + } + @media (pointer: coarse), (hover: none) { abbr[title] { position: relative;