From 564a98bedc4f096540655ec02d348dc24970c27a Mon Sep 17 00:00:00 2001 From: Andrew Kingston Date: Wed, 31 May 2023 18:23:20 +0100 Subject: [PATCH] Increase tooltip max size and fix issue with overflow in app overview --- packages/bbui/src/Tooltip/Tooltip.svelte | 8 ++++++++ packages/builder/src/components/common/DashCard.svelte | 1 - 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/packages/bbui/src/Tooltip/Tooltip.svelte b/packages/bbui/src/Tooltip/Tooltip.svelte index ea511b0060..4a1708769e 100644 --- a/packages/bbui/src/Tooltip/Tooltip.svelte +++ b/packages/bbui/src/Tooltip/Tooltip.svelte @@ -31,4 +31,12 @@ .spectrum-Tooltip-tip { border-top-color: var(--spectrum-global-color-gray-500); } + .spectrum-Tooltip { + max-width: 280px; + } + .spectrum-Tooltip-label { + text-overflow: ellipsis; + white-space: nowrap; + overflow: hidden; + } diff --git a/packages/builder/src/components/common/DashCard.svelte b/packages/builder/src/components/common/DashCard.svelte index ac621ae68e..c6b89d56ff 100644 --- a/packages/builder/src/components/common/DashCard.svelte +++ b/packages/builder/src/components/common/DashCard.svelte @@ -28,7 +28,6 @@ .dash-card { background: var(--spectrum-alias-background-color-primary); border-radius: var(--border-radius-s); - overflow: hidden; min-height: 170px; } .dash-card-header {