diff --git a/src/app.scss b/src/app.scss index 68c1804..49e3507 100644 --- a/src/app.scss +++ b/src/app.scss @@ -21,11 +21,11 @@ a.is-disabled { filter: grayscale(100%); } -/* -.usermessage:hover .editbutton { - display: block !important; +/* Show the edit button on hover of the user message */ +.usermessage:hover > .message-body > .editbutton { + /* TODO: add when ready: display: block !important; */ + text-decoration: none !important; } -*/ $footer-padding: 3rem 1.5rem; diff --git a/src/lib/Chat.svelte b/src/lib/Chat.svelte index 4429de2..3e69c1c 100644 --- a/src/lib/Chat.svelte +++ b/src/lib/Chat.svelte @@ -129,7 +129,16 @@ {#if message.role === "user"}
- + {@html marked(message.content)}