From b3417ecaf83dad12aedde7492fd87ef7df5f9f99 Mon Sep 17 00:00:00 2001 From: nokhnaton Date: Mon, 3 Jul 2023 17:36:57 +0900 Subject: [PATCH 1/2] fix --- .../Main/MainView/MessageInput/MessageInput.vue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/components/Main/MainView/MessageInput/MessageInput.vue b/src/components/Main/MainView/MessageInput/MessageInput.vue index 54790bc16..b4bf20411 100644 --- a/src/components/Main/MainView/MessageInput/MessageInput.vue +++ b/src/components/Main/MainView/MessageInput/MessageInput.vue @@ -178,14 +178,14 @@ $radius: 4px; border-radius: $radius; transform: translateY(-$radius); - border: solid 2px transparent; - &:focus-within { - border-color: $theme-accent-focus-default; - } &:has(.toNewMessageButton:focus) { border-color: transparent; } } + border: solid 2px transparent; + &:focus-within { + border-color: $theme-accent-focus-default; + } } .preview { margin-bottom: 8px; From c06e9ce8aca36555405aa44dad54b05d19a98901 Mon Sep 17 00:00:00 2001 From: nokhnaton Date: Fri, 8 Sep 2023 22:05:27 +0900 Subject: [PATCH 2/2] =?UTF-8?q?=E3=83=A1=E3=83=83=E3=82=BB=E3=83=BC?= =?UTF-8?q?=E3=82=B8=E5=85=A5=E5=8A=9B=E3=81=AB=E3=83=95=E3=82=A9=E3=83=BC?= =?UTF-8?q?=E3=82=AB=E3=82=B9=E3=81=97=E3=81=9F=E3=81=A8=E3=81=8D=E3=81=AB?= =?UTF-8?q?border=E3=81=8C=E4=BB=98=E3=81=8F=E4=BD=8D=E7=BD=AE=E3=82=92?= =?UTF-8?q?=E5=A4=89=E6=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Main/MainView/MessageInput/MessageInput.vue | 8 -------- .../Main/MainView/MessageInput/MessageInputTextArea.vue | 4 ++++ 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/src/components/Main/MainView/MessageInput/MessageInput.vue b/src/components/Main/MainView/MessageInput/MessageInput.vue index b4bf20411..c133bfa00 100644 --- a/src/components/Main/MainView/MessageInput/MessageInput.vue +++ b/src/components/Main/MainView/MessageInput/MessageInput.vue @@ -177,14 +177,6 @@ $radius: 4px; } border-radius: $radius; transform: translateY(-$radius); - - &:has(.toNewMessageButton:focus) { - border-color: transparent; - } - } - border: solid 2px transparent; - &:focus-within { - border-color: $theme-accent-focus-default; } } .preview { diff --git a/src/components/Main/MainView/MessageInput/MessageInputTextArea.vue b/src/components/Main/MainView/MessageInput/MessageInputTextArea.vue index 62b675981..801d758ef 100644 --- a/src/components/Main/MainView/MessageInput/MessageInputTextArea.vue +++ b/src/components/Main/MainView/MessageInput/MessageInputTextArea.vue @@ -150,6 +150,10 @@ $vertical-padding: 8px; width: 100%; border-radius: 8px; overflow: hidden; + border: solid 2px transparent; + &:focus-within { + border-color: $theme-accent-focus-default; + } } .textarea { @include color-text-primary;