mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-01-27 01:59:28 +08:00
Fix experiment table title width [SCI-7646]
This commit is contained in:
parent
67b4ccf634
commit
30606428e9
2 changed files with 8 additions and 1 deletions
|
@ -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;
|
||||
|
|
|
@ -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 %>
|
||||
|
|
Loading…
Reference in a new issue