mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-01-29 03:01:58 +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
|
// scss-lint:disable SelectorDepth NestingDepth IdSelector
|
||||||
|
|
||||||
|
#experimentTable,
|
||||||
|
#experiment-canvas {
|
||||||
|
.experimnet-name {
|
||||||
|
max-width: calc(100% - 300px);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
#experiment-canvas {
|
#experiment-canvas {
|
||||||
[data-view-mode="archived"] {
|
[data-view-mode="archived"] {
|
||||||
display: none;
|
display: none;
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
<%= render partial: 'projects/index/breadcrumbs', locals: {target_folder: @experiment.project.project_folder, project: @experiment.project, experiment: @experiment} %>
|
<%= render partial: 'projects/index/breadcrumbs', locals: {target_folder: @experiment.project.project_folder, project: @experiment.project, experiment: @experiment} %>
|
||||||
</div>
|
</div>
|
||||||
<div class="title-row">
|
<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? %>
|
<% if @experiment.archived? %>
|
||||||
<i class="fas fa-archive" data-view-mode="archived"></i>
|
<i class="fas fa-archive" data-view-mode="archived"></i>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
Loading…
Reference in a new issue