From 3813a25eaeb0b513faf946935a0fccd1da4e9ef1 Mon Sep 17 00:00:00 2001 From: iamsivin Date: Wed, 7 Jan 2026 12:02:21 +0530 Subject: [PATCH] fix: Button shadow issue --- .../dashboard/components-next/button/Button.vue | 8 ++++---- .../dashboard/components/buttons/ResolveAction.vue | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/app/javascript/dashboard/components-next/button/Button.vue b/app/javascript/dashboard/components-next/button/Button.vue index 755421d7c..4174258ef 100644 --- a/app/javascript/dashboard/components-next/button/Button.vue +++ b/app/javascript/dashboard/components-next/button/Button.vue @@ -191,16 +191,16 @@ const STYLE_CONFIG = { center: 'justify-center', end: 'justify-end', }, - base: 'inline-flex items-center min-w-0 gap-2 transition-all duration-100 ease-out border-0 outline-1 outline disabled:opacity-50', + base: 'inline-flex items-center min-w-0 gap-2 transition-all duration-100 ease-out border-0 outline-1 outline -outline-offset-1 disabled:opacity-50', }; const variantClasses = computed(() => { const variantMap = { ghost: `${STYLE_CONFIG.colors[computedColor.value].ghost}`, link: `${STYLE_CONFIG.colors[computedColor.value].link} p-0 font-medium underline-offset-2`, - outline: STYLE_CONFIG.colors[computedColor.value].outline, - faded: STYLE_CONFIG.colors[computedColor.value].faded, - solid: STYLE_CONFIG.colors[computedColor.value].solid, + outline: `${STYLE_CONFIG.colors[computedColor.value].outline} shadow-[0_1px_2px_0_rgba(27,28,29,0.04)]`, + faded: `${STYLE_CONFIG.colors[computedColor.value].faded} shadow-[0_1px_2px_0_rgba(27,28,29,0.04)]`, + solid: `${STYLE_CONFIG.colors[computedColor.value].solid} shadow-[0_1px_2px_0_rgba(27,28,29,0.04)]`, }; return variantMap[computedVariant.value]; diff --git a/app/javascript/dashboard/components/buttons/ResolveAction.vue b/app/javascript/dashboard/components/buttons/ResolveAction.vue index e9412c52e..3a0e8e869 100644 --- a/app/javascript/dashboard/components/buttons/ResolveAction.vue +++ b/app/javascript/dashboard/components/buttons/ResolveAction.vue @@ -175,7 +175,7 @@ useEmitter(CMD_RESOLVE_CONVERSATION, onCmdResolveConversation); :disabled="isLoading" size="sm" no-animation - class="ltr:rounded-l-none rtl:rounded-r-none !outline-n-weak" + class="ltr:rounded-l-none rtl:rounded-r-none !outline-n-weak !outline-offset-0" color="slate" trailing-icon @click="openDropdown"