diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2015-09-12 12:30:43 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2015-09-12 12:30:43 +0000 |
commit | de9b8e7ef4004c6e7925be5ca9c9c5e1016e5146 (patch) | |
tree | 64c1f6edbf713d8632aa118bdca29a436e983548 | |
parent | 141c83bdc7e4a90ddf1cae6abe2e2e7690401964 (diff) | |
download | redmine-de9b8e7ef4004c6e7925be5ca9c9c5e1016e5146.tar.gz redmine-de9b8e7ef4004c6e7925be5ca9c9c5e1016e5146.zip |
Help cursor showing up on span tags with title (#20633).
git-svn-id: http://svn.redmine.org/redmine/trunk@14552 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r-- | app/helpers/custom_fields_helper.rb | 3 | ||||
-rw-r--r-- | public/stylesheets/application.css | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/app/helpers/custom_fields_helper.rb b/app/helpers/custom_fields_helper.rb index 988d6532f..2de4c4037 100644 --- a/app/helpers/custom_fields_helper.rb +++ b/app/helpers/custom_fields_helper.rb @@ -80,7 +80,8 @@ module CustomFieldsHelper # Return custom field name tag def custom_field_name_tag(custom_field) title = custom_field.description.presence - content_tag 'span', custom_field.name, :title => title + css = title ? "field-description" : nil + content_tag 'span', custom_field.name, :title => title, :class => css end # Return custom field label tag diff --git a/public/stylesheets/application.css b/public/stylesheets/application.css index abda05c11..dd8dcb689 100644 --- a/public/stylesheets/application.css +++ b/public/stylesheets/application.css @@ -328,7 +328,7 @@ legend {color: #484848;} hr { width: 100%; height: 1px; background: #ccc; border: 0;} blockquote { font-style: italic; border-left: 3px solid #e0e0e0; padding-left: 0.6em; margin-left: 2.4em;} blockquote blockquote { margin-left: 0;} -abbr, span[title] { border-bottom: 1px dotted #aaa; cursor: help; } +abbr, span.field-description[title] { border-bottom: 1px dotted #aaa; cursor: help; } textarea.wiki-edit {width:99%; resize:vertical;} li p {margin-top: 0;} div.issue {background:#ffffdd; padding:6px; margin-bottom:6px;border: 1px solid #d7d7d7;} |