From 2829ba6c5791d8b55f029282ca6257c9cdd5707e Mon Sep 17 00:00:00 2001 From: Go MAEDA Date: Mon, 29 Jan 2024 07:36:54 +0000 Subject: [PATCH] Extraneous whitespace when selecting and copying issue number on Chrome/Windows (#37390). MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Patch by Thomas Löber (@tloeber). git-svn-id: https://svn.redmine.org/redmine/trunk@22663 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/views/issues/show.html.erb | 3 +-- public/stylesheets/application.css | 2 ++ 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/app/views/issues/show.html.erb b/app/views/issues/show.html.erb index 6f0a0a984..3b713b4e7 100644 --- a/app/views/issues/show.html.erb +++ b/app/views/issues/show.html.erb @@ -1,7 +1,6 @@ <%= render :partial => 'action_menu' %> -

<%= issue_heading(@issue) %>

-<%= issue_status_type_badge(@issue.status) %> +

<%= issue_heading(@issue) %>

<%= issue_status_type_badge(@issue.status) %> <% if @issue.is_private? %> <%= l(:field_is_private) %> <% end %> diff --git a/public/stylesheets/application.css b/public/stylesheets/application.css index 3feee2702..622d70b25 100644 --- a/public/stylesheets/application.css +++ b/public/stylesheets/application.css @@ -150,6 +150,7 @@ div.modal .box p {margin: 0.3em 0;} .mobile-show {display: none;} .hidden {display: none;} +.inline-block {display: inline-block;} .inline-flex {display: inline-flex;} /***** Links *****/ @@ -1573,6 +1574,7 @@ td.gantt_selected_column .gantt_hdr,.gantt_selected_column_container { border-radius: 2px; text-transform: uppercase; text-decoration: none; + user-select: none; } .badge-private { background: #d22; -- 2.39.5