mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-02-20 22:03:03 +08:00
Fix smart annotations multiline display [SCI-8816] (#5747)
This commit is contained in:
parent
5519cfe75f
commit
527551068b
3 changed files with 6 additions and 4 deletions
|
@ -219,6 +219,9 @@
|
|||
}
|
||||
|
||||
.atwho-user-container {
|
||||
display: inline-block;
|
||||
white-space: nowrap;
|
||||
|
||||
.atwho-user-popover {
|
||||
cursor: pointer;
|
||||
line-height: 1.25rem;
|
||||
|
|
|
@ -26,9 +26,8 @@ module SmartAnnotations
|
|||
return "<span class='sa-type'>Exp</span>#{object.name} #{I18n.t('atwho.res.archived')}"
|
||||
end
|
||||
|
||||
"<a class='sa-link' href='#{ROUTES.my_modules_experiment_path(object)}'>
|
||||
<span class='sa-type'>Exp</span>#{object.name}
|
||||
</a>"
|
||||
"<a class='sa-link' href='#{ROUTES.my_modules_experiment_path(object)}'>" \
|
||||
"<span class='sa-type'>Exp</span>#{object.name}</a>"
|
||||
end
|
||||
|
||||
def generate_tsk_snippet(_, object)
|
||||
|
|
|
@ -28,4 +28,4 @@
|
|||
<% unless skip_user_status || user_still_in_team %>
|
||||
<%= I18n.t('atwho.res.removed') %>
|
||||
<% end %>
|
||||
</span>
|
||||
</span>
|
Loading…
Reference in a new issue