Report wizard fix task and experiments long names [SCI-5711] (#3311)

This commit is contained in:
aignatov-bio 2021-05-11 21:31:12 +02:00 committed by GitHub
parent 3bd774f8db
commit 114a590a22
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 16 additions and 3 deletions

View file

@ -436,12 +436,15 @@
.experiment-block {
align-items: center;
display: flex;
flex-wrap: wrap;
margin: 1em 0;
}
.experiment-name {
@include font-h1;
display: inline-block;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.experiment-contents {
@ -491,6 +494,14 @@
color: $color-silver-chalice;
margin-left: auto;
}
.my-module-name {
display: inline-block;
overflow: hidden;
padding-right: 1em;
text-overflow: ellipsis;
white-space: nowrap;
}
}
.experiment-element:first-child {

View file

@ -9,7 +9,7 @@
<span class="sci-checkbox-label"></span>
</span>
<i class="fas fa-caret-down " data-toggle="collapse" href="#experimentContentContainer<%= experiment.id %>" aria-expanded="false"></i>
<span class="experiment-name">
<span class="experiment-name" title="<%= experiment.name %>">
<%= experiment.name %>
</span>
<div class="move-buttons sci-btn-group">
@ -30,7 +30,9 @@
%>/>
<span class="sci-checkbox-label"></span>
</span>
<%= my_module.name %>
<span class="my-module-name" title="<%= my_module.name %>">
<%= my_module.name %>
</span>
<i class="fas fa-grip-vertical"></i>
</li>
<% end %>