From 5f709245c090c15c8053cf6b14691ec006317bb6 Mon Sep 17 00:00:00 2001 From: Aman Agrawal Date: Wed, 5 Feb 2025 16:42:50 +0530 Subject: [PATCH] inbox: Allow user to select empty view text. We likely added this logic to allow links to be opened in new tab on ctrl + click and not trigger text selection. We retain this behaviour but allow selection of empty view text. --- web/styles/inbox.css | 2 ++ web/templates/inbox_view/inbox_view.hbs | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/web/styles/inbox.css b/web/styles/inbox.css index be51bd132f..43ca2e005b 100644 --- a/web/styles/inbox.css +++ b/web/styles/inbox.css @@ -152,6 +152,7 @@ } .inbox-header { + user-select: none; display: block; height: 30px; @@ -259,6 +260,7 @@ } .inbox-row { + user-select: none; display: block; background-color: var(--color-background-inbox-row); diff --git a/web/templates/inbox_view/inbox_view.hbs b/web/templates/inbox_view/inbox_view.hbs index f31431dbd5..ae8b46c041 100644 --- a/web/templates/inbox_view/inbox_view.hbs +++ b/web/templates/inbox_view/inbox_view.hbs @@ -1,4 +1,4 @@ -
+
{{> ../dropdown_widget widget_name="inbox-filter"}}