@@ -80,7 +80,8 module CustomFieldsHelper | |||
|
80 | 80 | # Return custom field name tag |
|
81 | 81 | def custom_field_name_tag(custom_field) |
|
82 | 82 | title = custom_field.description.presence |
|
83 | content_tag 'span', custom_field.name, :title => title | |
|
83 | css = title ? "field-description" : nil | |
|
84 | content_tag 'span', custom_field.name, :title => title, :class => css | |
|
84 | 85 | end |
|
85 | 86 | |
|
86 | 87 | # Return custom field label tag |
@@ -328,7 +328,7 legend {color: #484848;} | |||
|
328 | 328 | hr { width: 100%; height: 1px; background: #ccc; border: 0;} |
|
329 | 329 | blockquote { font-style: italic; border-left: 3px solid #e0e0e0; padding-left: 0.6em; margin-left: 2.4em;} |
|
330 | 330 | blockquote blockquote { margin-left: 0;} |
|
331 | abbr, span[title] { border-bottom: 1px dotted #aaa; cursor: help; } | |
|
331 | abbr, span.field-description[title] { border-bottom: 1px dotted #aaa; cursor: help; } | |
|
332 | 332 | textarea.wiki-edit {width:99%; resize:vertical;} |
|
333 | 333 | li p {margin-top: 0;} |
|
334 | 334 | div.issue {background:#ffffdd; padding:6px; margin-bottom:6px;border: 1px solid #d7d7d7;} |
General Comments 0
You need to be logged in to leave comments.
Login now