diff options
author | Go MAEDA <maeda@farend.jp> | 2024-01-29 07:36:54 +0000 |
---|---|---|
committer | Go MAEDA <maeda@farend.jp> | 2024-01-29 07:36:54 +0000 |
commit | 2829ba6c5791d8b55f029282ca6257c9cdd5707e (patch) | |
tree | 631736fb862365451a2d8fccb1d47ca271fb68f2 | |
parent | 897c957a1662a33f34622ea0693cefec3112833f (diff) | |
download | redmine-2829ba6c5791d8b55f029282ca6257c9cdd5707e.tar.gz redmine-2829ba6c5791d8b55f029282ca6257c9cdd5707e.zip |
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
-rw-r--r-- | app/views/issues/show.html.erb | 3 | ||||
-rw-r--r-- | 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' %> -<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 %> 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; |