]> source.dussan.org Git - redmine.git/commitdiff
Extraneous whitespace when selecting and copying issue number on Chrome/Windows ...
authorGo MAEDA <maeda@farend.jp>
Mon, 29 Jan 2024 07:36:54 +0000 (07:36 +0000)
committerGo MAEDA <maeda@farend.jp>
Mon, 29 Jan 2024 07:36:54 +0000 (07:36 +0000)
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
public/stylesheets/application.css

index 6f0a0a98498cadb9c16ed169e7eebf4c34aaccf5..3b713b4e7f31d0812684284a51ddcd1c0af6d138 100644 (file)
@@ -1,7 +1,6 @@
 <%= render :partial => 'action_menu' %>
 
-<h2 class="inline-flex"><%= issue_heading(@issue) %></h2>
-<%= issue_status_type_badge(@issue.status) %>
+<h2 class="inline-block"><%= issue_heading(@issue) %></h2><%= issue_status_type_badge(@issue.status) %>
 <% if @issue.is_private? %>
   <span class="badge badge-private private"><%= l(:field_is_private) %></span>
 <% end %>
index 3feee27029a8412a06e5d23a38e0acf2cef5e881..622d70b25833a935c2531ab90b25fad8d1149981 100644 (file)
@@ -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;