mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-09-30 00:45: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 {
|
.experiment-block {
|
||||||
align-items: center;
|
align-items: center;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-wrap: wrap;
|
|
||||||
margin: 1em 0;
|
margin: 1em 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.experiment-name {
|
.experiment-name {
|
||||||
@include font-h1;
|
@include font-h1;
|
||||||
|
display: inline-block;
|
||||||
|
overflow: hidden;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
|
|
||||||
.experiment-contents {
|
.experiment-contents {
|
||||||
|
@ -491,6 +494,14 @@
|
||||||
color: $color-silver-chalice;
|
color: $color-silver-chalice;
|
||||||
margin-left: auto;
|
margin-left: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.my-module-name {
|
||||||
|
display: inline-block;
|
||||||
|
overflow: hidden;
|
||||||
|
padding-right: 1em;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
white-space: nowrap;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.experiment-element:first-child {
|
.experiment-element:first-child {
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
<span class="sci-checkbox-label"></span>
|
<span class="sci-checkbox-label"></span>
|
||||||
</span>
|
</span>
|
||||||
<i class="fas fa-caret-down " data-toggle="collapse" href="#experimentContentContainer<%= experiment.id %>" aria-expanded="false"></i>
|
<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 %>
|
<%= experiment.name %>
|
||||||
</span>
|
</span>
|
||||||
<div class="move-buttons sci-btn-group">
|
<div class="move-buttons sci-btn-group">
|
||||||
|
@ -30,7 +30,9 @@
|
||||||
%>/>
|
%>/>
|
||||||
<span class="sci-checkbox-label"></span>
|
<span class="sci-checkbox-label"></span>
|
||||||
</span>
|
</span>
|
||||||
|
<span class="my-module-name" title="<%= my_module.name %>">
|
||||||
<%= my_module.name %>
|
<%= my_module.name %>
|
||||||
|
</span>
|
||||||
<i class="fas fa-grip-vertical"></i>
|
<i class="fas fa-grip-vertical"></i>
|
||||||
</li>
|
</li>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
Loading…
Add table
Reference in a new issue