mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-03-01 02:05:41 +08:00
Experiment dropdown layout fixes [SCI-6013]
This commit is contained in:
parent
0ce6e29614
commit
35e815449d
2 changed files with 11 additions and 5 deletions
|
@ -41,8 +41,7 @@
|
||||||
|
|
||||||
.dropdown-menu {
|
.dropdown-menu {
|
||||||
.form-dropdown-break hr {
|
.form-dropdown-break hr {
|
||||||
margin-bottom: 8px;
|
margin: 0;
|
||||||
margin-top: 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.form-dropdown-item {
|
.form-dropdown-item {
|
||||||
|
@ -62,6 +61,7 @@
|
||||||
|
|
||||||
.form-dropdown-item-info {
|
.form-dropdown-item-info {
|
||||||
color: $color-silver-chalice !important;
|
color: $color-silver-chalice !important;
|
||||||
|
padding-top: .3em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.project-archive-restore-form {
|
.project-archive-restore-form {
|
||||||
|
|
|
@ -63,9 +63,15 @@
|
||||||
<% end %>
|
<% end %>
|
||||||
</li>
|
</li>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
<% if experiment.active? && can_manage_experiment?(experiment) ||
|
||||||
|
can_move_experiment?(experiment) ||
|
||||||
|
can_clone_experiment?(experiment) ||
|
||||||
|
experiment.active? && can_archive_experiment?(experiment) ||
|
||||||
|
experiment.archived? && can_restore_experiment?(experiment) %>
|
||||||
<li class="form-dropdown-break">
|
<li class="form-dropdown-break">
|
||||||
<hr>
|
<hr>
|
||||||
</li>
|
</li>
|
||||||
|
<% end %>
|
||||||
<li class="form-dropdown-item">
|
<li class="form-dropdown-item">
|
||||||
<div class="form-dropdown-item-info">
|
<div class="form-dropdown-item-info">
|
||||||
<small><%= t('experiments.experiment_id') %>: <strong><%= experiment.code %></strong></small>
|
<small><%= t('experiments.experiment_id') %>: <strong><%= experiment.code %></strong></small>
|
||||||
|
|
Loading…
Reference in a new issue