mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-09-23 13:34:57 +08:00
Fix css
This commit is contained in:
parent
15b291347b
commit
338f3a0192
5 changed files with 7 additions and 32 deletions
|
@ -167,6 +167,8 @@ var MyModuleRepositories = (function() {
|
|||
renderFullViewTable(fullViewModal.find('.table'));
|
||||
});
|
||||
e.stopPropagation();
|
||||
});
|
||||
}
|
||||
|
||||
function initRepositoriesDropdown() {
|
||||
$('.repositories-assign-container').on('show.bs.dropdown', function() {
|
||||
|
|
|
@ -187,29 +187,6 @@
|
|||
}
|
||||
}
|
||||
|
||||
.repositories-dropdown-menu {
|
||||
border: 1px solid $color-gainsboro;
|
||||
border-top: 0;
|
||||
box-shadow: 0 1px 1px 0 rgba(0, 0, 0, .05);
|
||||
height: auto;
|
||||
max-height: 400px;
|
||||
overflow-x: hidden;
|
||||
text-transform: initial;
|
||||
width: 300px;
|
||||
|
||||
li:not(:first-child) {
|
||||
border-top: 1px solid $color-gainsboro;
|
||||
}
|
||||
|
||||
.fas-custom {
|
||||
float: right;
|
||||
}
|
||||
|
||||
a.muted {
|
||||
opacity: .7;
|
||||
}
|
||||
}
|
||||
|
||||
.repository-share-status {
|
||||
display: contents !important;
|
||||
|
||||
|
|
|
@ -1899,10 +1899,6 @@ th.custom-field .modal-tooltiptext {
|
|||
background-color: $color-alto;
|
||||
}
|
||||
|
||||
.my_module-state-buttons {
|
||||
padding-top: 6px;
|
||||
}
|
||||
|
||||
.parse-records-table {
|
||||
max-height: 200px;
|
||||
}
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
<span class="task-section-title">
|
||||
<h2><%= t('my_modules.details.title') %></h2>
|
||||
</span>
|
||||
<div class="complete-button-container">
|
||||
<div class="actions-block">
|
||||
<%= render partial: "my_modules/state_buttons.html.erb" %>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -51,8 +51,8 @@
|
|||
<span><%= t('my_modules.assigned_items.assign_from') %></span>
|
||||
<span class="caret pull-right"></span>
|
||||
</a>
|
||||
<div class="dropdown-menu repositories-dropdown-menu" aria-labelledby="repositories-assign-button">
|
||||
</div>
|
||||
<ul class="dropdown-menu repositories-dropdown-menu" aria-labelledby="repositories-assign-button">
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<% @repositories.each do |repository| %>
|
||||
<% assigned_items_count = @my_module.repository_rows_count(repository) %>
|
||||
<div class="repository">
|
||||
<li class="repository">
|
||||
<% if repository.shared_with?(current_team) %>
|
||||
<span class="shared-icon">
|
||||
<i class="fas fa-users"></i>
|
||||
|
@ -13,5 +13,5 @@
|
|||
<%= assigned_items_count %>
|
||||
</span>
|
||||
<% end %>
|
||||
</div>
|
||||
</li>
|
||||
<% end %>
|
Loading…
Add table
Reference in a new issue