mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-28 03:06:28 +08:00
Report wizard fix task and experiments long names [SCI-5711] (#3311)
This commit is contained in:
parent
3bd774f8db
commit
114a590a22
2 changed files with 16 additions and 3 deletions
|
@ -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 {
|
||||
|
|
|
@ -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 %>
|
||||
|
|
Loading…
Reference in a new issue