From c84d95d0e32743505b94a6a813f72d9f8a664c6b Mon Sep 17 00:00:00 2001 From: hippoz <10706925-hippoz@users.noreply.gitlab.com> Date: Thu, 1 Sep 2022 21:07:53 +0300 Subject: [PATCH] finally make consistent focus ring for messageinput --- frontend/src/components/Message.svelte | 2 +- frontend/src/components/MessageInput.svelte | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/frontend/src/components/Message.svelte b/frontend/src/components/Message.svelte index 9e414c4..959e502 100644 --- a/frontend/src/components/Message.svelte +++ b/frontend/src/components/Message.svelte @@ -12,7 +12,7 @@ replyString += `> ${line}\n`; }); - replyString += `@${message.author_username} `; + replyString += `@${message.author_username}: `; setMessageInputEvent.update(replyString); }; diff --git a/frontend/src/components/MessageInput.svelte b/frontend/src/components/MessageInput.svelte index 2869fe9..9373816 100644 --- a/frontend/src/components/MessageInput.svelte +++ b/frontend/src/components/MessageInput.svelte @@ -145,6 +145,10 @@ resize: none; } + .message-input:focus-visible { + outline: 2px solid var(--purple-2); + } + .message-input::placeholder { color: var(--foreground-color-4); }