From d446857ceaa2300ec62448cec55de76cac1c8175 Mon Sep 17 00:00:00 2001 From: Emma Segal-Grossman Date: Tue, 23 Apr 2024 19:16:58 -0400 Subject: [PATCH] Quick fix: hoist tooltips in archived item list (#1738) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Now that we're using a bunch of tooltips, I found when there are very few items listed the tooltips sometimes get squished in weird ways — this fixes that. --- .../features/archived-items/archived-item-list.ts | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/frontend/src/features/archived-items/archived-item-list.ts b/frontend/src/features/archived-items/archived-item-list.ts index f2d1086c..2f43a8b5 100644 --- a/frontend/src/features/archived-items/archived-item-list.ts +++ b/frontend/src/features/archived-items/archived-item-list.ts @@ -87,14 +87,17 @@ export class ArchivedItemListItem extends TailwindElement { typeIcon = "upload"; } - const notApplicable = html` + const notApplicable = html` `; - const none = html` + const none = html` e.stopPropagation()} @sl-after-hide=${(e: SlHideEvent) => e.stopPropagation()} + hoist > `}