mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-09-16 01:54:34 +08:00
Merge pull request #3517 from artoscinote/ma_SCI_6013
Experiment dropdown layout fixes [SCI-6013]
This commit is contained in:
commit
8a1454ddea
2 changed files with 8 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,13 @@
|
||||||
|
|
||||||
.form-dropdown-item-info {
|
.form-dropdown-item-info {
|
||||||
color: $color-silver-chalice !important;
|
color: $color-silver-chalice !important;
|
||||||
|
border-top: 1px solid $color-concrete;
|
||||||
|
padding-top: .3em;
|
||||||
|
}
|
||||||
|
|
||||||
|
&:only-child .form-dropdown-item-info {
|
||||||
|
border-top: 0;
|
||||||
|
padding-top: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.project-archive-restore-form {
|
.project-archive-restore-form {
|
||||||
|
|
|
@ -63,9 +63,6 @@
|
||||||
<% end %>
|
<% end %>
|
||||||
</li>
|
</li>
|
||||||
<% end %>
|
<% end %>
|
||||||
<li class="form-dropdown-break">
|
|
||||||
<hr>
|
|
||||||
</li>
|
|
||||||
<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…
Add table
Reference in a new issue