From 4abc01b64403913260fe29c9f855576f9f32cdf4 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Tue, 19 Apr 2022 10:45:20 +0100 Subject: [PATCH] Selection of text for common emoji --- epicyon-follow.css | 9 +++++++++ webapp_search.py | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/epicyon-follow.css b/epicyon-follow.css index 827394ca0..0f9f925e9 100644 --- a/epicyon-follow.css +++ b/epicyon-follow.css @@ -215,6 +215,9 @@ input[type=text] { font-family: Arial, Helvetica, sans-serif; margin: var(--hashtag-margin); line-height: var(--hashtag-vertical-spacing1); + -webkit-user-select: all; + -ms-user-select: all; + user-select: all; } .hashtagswarm img { width: 5%; @@ -266,6 +269,9 @@ input[type=text] { font-family: Arial, Helvetica, sans-serif; margin: var(--hashtag-margin); line-height: var(--hashtag-vertical-spacing3); + -webkit-user-select: all; + -ms-user-select: all; + user-select: all; } .hashtagswarm img { width: 5%; @@ -320,6 +326,9 @@ input[type=text] { font-family: Arial, Helvetica, sans-serif; margin: var(--hashtag-margin); line-height: var(--hashtag-vertical-spacing3); + -webkit-user-select: all; + -ms-user-select: all; + user-select: all; } .hashtagswarm img { width: 5%; diff --git a/webapp_search.py b/webapp_search.py index b7cfd4b53..534c5aeca 100644 --- a/webapp_search.py +++ b/webapp_search.py @@ -358,7 +358,7 @@ def _html_common_emoji(base_dir: str, no_of_emoji: int) -> str: '\n' + '\n' ctr += 1 line_ctr += 1 if html_str: