From b78c4138a4c06ebef2a61bd85e372f7ce36e67dd Mon Sep 17 00:00:00 2001 From: Kristina Date: Mon, 29 Jan 2024 15:52:56 +0400 Subject: [PATCH] Fix plus button in reactions and fix common notification overflow (#4467) Signed-off-by: Kristina Fefelova --- .../src/components/reactions/Reactions.svelte | 2 ++ .../components/inbox/CommonInboxNotificationPresenter.svelte | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/activity-resources/src/components/reactions/Reactions.svelte b/plugins/activity-resources/src/components/reactions/Reactions.svelte index 7d6c04abf6..a28a430b6f 100644 --- a/plugins/activity-resources/src/components/reactions/Reactions.svelte +++ b/plugins/activity-resources/src/components/reactions/Reactions.svelte @@ -47,6 +47,8 @@ } function openEmojiPalette (ev: Event) { + ev.preventDefault() + ev.stopPropagation() showPopup(EmojiPopup, {}, ev.target as HTMLElement, (emoji: string) => { updateDocReactions(client, reactions, object, emoji) }) diff --git a/plugins/notification-resources/src/components/inbox/CommonInboxNotificationPresenter.svelte b/plugins/notification-resources/src/components/inbox/CommonInboxNotificationPresenter.svelte index 0c99bcb277..5595d224d8 100644 --- a/plugins/notification-resources/src/components/inbox/CommonInboxNotificationPresenter.svelte +++ b/plugins/notification-resources/src/components/inbox/CommonInboxNotificationPresenter.svelte @@ -153,7 +153,6 @@ .root { position: relative; display: flex; - flex-shrink: 0; padding: 0.75rem 0.75rem 0.75rem 1.25rem; border-radius: 0.5rem; gap: 1rem;