mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-02-28 17:54:16 +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 {
|
||||
.form-dropdown-break hr {
|
||||
margin-bottom: 8px;
|
||||
margin-top: 0;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.form-dropdown-item {
|
||||
|
@ -62,6 +61,7 @@
|
|||
|
||||
.form-dropdown-item-info {
|
||||
color: $color-silver-chalice !important;
|
||||
padding-top: .3em;
|
||||
}
|
||||
|
||||
.project-archive-restore-form {
|
||||
|
|
|
@ -63,9 +63,15 @@
|
|||
<% end %>
|
||||
</li>
|
||||
<% 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">
|
||||
<hr>
|
||||
</li>
|
||||
<% end %>
|
||||
<li class="form-dropdown-item">
|
||||
<div class="form-dropdown-item-info">
|
||||
<small><%= t('experiments.experiment_id') %>: <strong><%= experiment.code %></strong></small>
|
||||
|
|
Loading…
Reference in a new issue