From 30922024863a9e3714f4132cfcb74237187d5e30 Mon Sep 17 00:00:00 2001 From: lauramargar <114984466+lauramargar@users.noreply.github.com> Date: Wed, 9 Oct 2024 10:03:19 +0200 Subject: [PATCH] fix(empathize): hide empathize if it has no content (#511) --- .../desktop/desktop-header-floating-predictive.vue | 2 +- src/components/mobile/mobile.vue | 4 +--- .../predictive-layer/full-width-predictive.vue | 6 +++--- src/components/predictive-layer/predictive-layer.vue | 12 +++++++++--- 4 files changed, 14 insertions(+), 10 deletions(-) diff --git a/src/components/desktop/desktop-header-floating-predictive.vue b/src/components/desktop/desktop-header-floating-predictive.vue index 68ad53b9..1777269d 100644 --- a/src/components/desktop/desktop-header-floating-predictive.vue +++ b/src/components/desktop/desktop-header-floating-predictive.vue @@ -7,7 +7,7 @@
- +
diff --git a/src/components/mobile/mobile.vue b/src/components/mobile/mobile.vue index f37917b8..0d49f599 100644 --- a/src/components/mobile/mobile.vue +++ b/src/components/mobile/mobile.vue @@ -13,9 +13,7 @@
- + diff --git a/src/components/predictive-layer/full-width-predictive.vue b/src/components/predictive-layer/full-width-predictive.vue index 9c818fdc..45ab3cf0 100644 --- a/src/components/predictive-layer/full-width-predictive.vue +++ b/src/components/predictive-layer/full-width-predictive.vue @@ -4,12 +4,12 @@ @EmpathizeOpened="handleEmpathizeEvent('EmpathizeOpened')" @EmpathizeClosed="handleEmpathizeEvent('EmpathizeClosed')" :animation="empathizeAnimation" - class="x-layout-item x-absolute x-z-[1] x-w-full x-bg-neutral-0 x-py-4" + class="x-layout-item x-absolute x-z-[1] x-w-full x-bg-neutral-0" >
-
+
-
+
-
+