Fix experiment table title width [SCI-7646]

This commit is contained in:
Anton 2022-12-23 10:35:17 +01:00
parent 67b4ccf634
commit 30606428e9
2 changed files with 8 additions and 1 deletions

View file

@ -1,5 +1,12 @@
// scss-lint:disable SelectorDepth NestingDepth IdSelector
#experimentTable,
#experiment-canvas {
.experimnet-name {
max-width: calc(100% - 300px);
}
}
#experiment-canvas {
[data-view-mode="archived"] {
display: none;

View file

@ -3,7 +3,7 @@
<%= render partial: 'projects/index/breadcrumbs', locals: {target_folder: @experiment.project.project_folder, project: @experiment.project, experiment: @experiment} %>
</div>
<div class="title-row">
<h1 class="project-name" data-toggle="tooltip" data-placement="bottom" title="<%= @experiment.name %>">
<h1 class="experimnet-name" data-toggle="tooltip" data-placement="bottom" title="<%= @experiment.name %>">
<% if @experiment.archived? %>
<i class="fas fa-archive" data-view-mode="archived"></i>
<% end %>