Fix smart annotations multiline display [SCI-8816] (#5747)

This commit is contained in:
ivanscinote 2023-07-14 12:31:33 +02:00 committed by GitHub
parent 5519cfe75f
commit 527551068b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 4 deletions

View file

@ -219,6 +219,9 @@
}
.atwho-user-container {
display: inline-block;
white-space: nowrap;
.atwho-user-popover {
cursor: pointer;
line-height: 1.25rem;

View file

@ -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)

View file

@ -28,4 +28,4 @@
<% unless skip_user_status || user_still_in_team %>
<%= I18n.t('atwho.res.removed') %>
<% end %>
</span>
</span>