From: Go MAEDA Date: Mon, 29 Jan 2024 07:36:54 +0000 (+0000) Subject: Extraneous whitespace when selecting and copying issue number on Chrome/Windows ... X-Git-Tag: 6.0.0~455 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=2829ba6c5791d8b55f029282ca6257c9cdd5707e;p=redmine.git Extraneous whitespace when selecting and copying issue number on Chrome/Windows (#37390). Patch by Thomas Löber (@tloeber). git-svn-id: https://svn.redmine.org/redmine/trunk@22663 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- 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;