From 509131b3545b83ceede82b1363716b2b3c5a92e3 Mon Sep 17 00:00:00 2001 From: John Livingston Date: Thu, 8 Feb 2024 10:44:28 +0100 Subject: [PATCH] Fix #3307: Fix inconsistency between browsers on textarea outlines --- CHANGES.md | 1 + src/plugins/chatview/styles/chat-bottom-panel.scss | 3 ++- src/plugins/muc-views/styles/muc-bottom-panel.scss | 3 ++- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index ca64af83e6..fb9d53f40a 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -5,6 +5,7 @@ - #2716: Fix issue with chat display when opening via URL - #3033: Add the `muc_grouped_by_domain` option to display MUCs on the same domain in collapsible groups - Add an occupants filter to the MUC sidebar +- #3307: Fix inconsistency between browsers on textarea outlines ### Breaking changes: diff --git a/src/plugins/chatview/styles/chat-bottom-panel.scss b/src/plugins/chatview/styles/chat-bottom-panel.scss index 9aeba39923..2b675eaa34 100644 --- a/src/plugins/chatview/styles/chat-bottom-panel.scss +++ b/src/plugins/chatview/styles/chat-bottom-panel.scss @@ -40,8 +40,9 @@ } .chat-textarea, input { + outline: 1px solid var(--chat-head-color); &:active, &:focus{ - outline-color: var(--chat-head-color); + outline-width: 2px; } &.correcting { background-color: var(--chat-correcting-color); diff --git a/src/plugins/muc-views/styles/muc-bottom-panel.scss b/src/plugins/muc-views/styles/muc-bottom-panel.scss index e9c5569e76..5405bc7d7c 100644 --- a/src/plugins/muc-views/styles/muc-bottom-panel.scss +++ b/src/plugins/muc-views/styles/muc-bottom-panel.scss @@ -31,8 +31,9 @@ bottom: 4.5em; } .chat-textarea, input { + outline: 1px solid var(--chatroom-head-bg-color) !important; &:active, &:focus{ - outline-color: var(--chatroom-head-bg-color) !important; + outline-width: 2px !important; } &.correcting { background-color: var(--chatroom-correcting-color);