From 4426249950c465d273ffca893845a748a4d89d26 Mon Sep 17 00:00:00 2001 From: Jaakko Husso Date: Mon, 9 Jun 2025 12:28:35 +0300 Subject: [PATCH] fix(editor): Prevent Ask Assistant button overlapping other buttons (#16066) --- .../AskAssistant/Chat/AskAssistantFloatingButton.vue | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/packages/frontend/editor-ui/src/components/AskAssistant/Chat/AskAssistantFloatingButton.vue b/packages/frontend/editor-ui/src/components/AskAssistant/Chat/AskAssistantFloatingButton.vue index 2783f8b624..2ed3542648 100644 --- a/packages/frontend/editor-ui/src/components/AskAssistant/Chat/AskAssistantFloatingButton.vue +++ b/packages/frontend/editor-ui/src/components/AskAssistant/Chat/AskAssistantFloatingButton.vue @@ -67,6 +67,13 @@ const onClick = () => { bottom: calc(var(--canvas-panel-height-offset, 0px) + var(--spacing-s)); right: var(--spacing-s); z-index: var(--z-index-ask-assistant-floating-button); + + /* Prevent overlap with 'Execute Workflow' / 'Open Chat' buttons on small screens */ + @include mixins.breakpoint('sm-only') { + bottom: calc( + var(--canvas-panel-height-offset, 0px) + var(--spacing-s) + var(--spacing-xs) + 42px + ); + } } .tooltip {