From 094ac010fbee0908615e7e0baf4350b7b19f477e Mon Sep 17 00:00:00 2001 From: Aman Agrawal Date: Mon, 9 Oct 2023 16:38:14 +0000 Subject: [PATCH] user_card_popover: Remove popover content class. Added CSS styles that were removed due to this back. No visual changes. --- web/styles/popovers.css | 9 +++++++++ web/templates/popovers/user_card/user_card_popover.hbs | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/web/styles/popovers.css b/web/styles/popovers.css index 3395bbc847..d8228d73c4 100644 --- a/web/styles/popovers.css +++ b/web/styles/popovers.css @@ -103,6 +103,15 @@ } } +/* Used extra classes to override styles from .nav */ +.tippy-box .tippy-content .user-card-popover-content { + padding: 5px 0; + + .user-card-popover-actions { + margin: 0; + } +} + .user-card-popover-actions .custom_user_field { display: flex; align-items: center; diff --git a/web/templates/popovers/user_card/user_card_popover.hbs b/web/templates/popovers/user_card/user_card_popover.hbs index a2c08e80d2..954504cf56 100644 --- a/web/templates/popovers/user_card/user_card_popover.hbs +++ b/web/templates/popovers/user_card/user_card_popover.hbs @@ -1,6 +1,6 @@ {{! Contents of the user card popover }}
-
+