From 2d2c899c5441299337877e87e1ff5dd325ad1a51 Mon Sep 17 00:00:00 2001 From: Milorad Filipovic Date: Fri, 3 May 2024 13:42:28 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A8=20Refactoring=20QuickReplies,=20us?= =?UTF-8?q?ing=20`filter`=20instead=20of=20`box-shadow`?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../AIAssistantChat/AIAssistantChat.vue | 2 +- .../AIAssistantChat/QuickReplies.vue | 43 ++++++++++--------- .../src/plugins/i18n/locales/en.json | 1 + 3 files changed, 25 insertions(+), 21 deletions(-) diff --git a/packages/editor-ui/src/components/AIAssistantChat/AIAssistantChat.vue b/packages/editor-ui/src/components/AIAssistantChat/AIAssistantChat.vue index 795cce9c5e538..e4b99b429211a 100644 --- a/packages/editor-ui/src/components/AIAssistantChat/AIAssistantChat.vue +++ b/packages/editor-ui/src/components/AIAssistantChat/AIAssistantChat.vue @@ -208,7 +208,7 @@ async function onBeforeClose() { .container { height: 100%; background-color: var(--color-background-light); - box-shadow: 0px 8px 24px 0px #41424412; + filter: drop-shadow(0px 8px 24px #41424412); border-left: 1px solid var(--color-foreground-dark); overflow: hidden; } diff --git a/packages/editor-ui/src/components/AIAssistantChat/QuickReplies.vue b/packages/editor-ui/src/components/AIAssistantChat/QuickReplies.vue index f7b7ba0ad3c6e..1a43f625d7bfc 100644 --- a/packages/editor-ui/src/components/AIAssistantChat/QuickReplies.vue +++ b/packages/editor-ui/src/components/AIAssistantChat/QuickReplies.vue @@ -1,28 +1,13 @@ - - + +