From 0f1fd79d8294bd9370e758a114f0fa9ba7cb717d Mon Sep 17 00:00:00 2001 From: Joao Heringer Date: Tue, 7 Jan 2025 16:20:58 -0300 Subject: [PATCH 1/2] Fix Profile URL truncation on Firefox --- web/packages/hovercards/src/core.ts | 9 +++++---- web/packages/hovercards/src/style.scss | 8 +++++--- 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/web/packages/hovercards/src/core.ts b/web/packages/hovercards/src/core.ts index ce6c3e9..1050581 100644 --- a/web/packages/hovercards/src/core.ts +++ b/web/packages/hovercards/src/core.ts @@ -366,10 +366,11 @@ export default class Hovercards { ${ - description && - `
-

${ escHtml( description ) }

-
` + description + ? `
+

${ escHtml( description ) }

+
` + : '' }