mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-01-02 21:51:51 +08:00
Merge pull request #2523 from urbanrotnik/ur-sci-4549-sidebar-fix
Fix icon position and hover effect in repositories sidebar [SCI-4549]
This commit is contained in:
commit
760c2fba8f
2 changed files with 7 additions and 6 deletions
|
@ -123,8 +123,8 @@
|
|||
|
||||
.fas-custom {
|
||||
float: right;
|
||||
margin-right: 5px;
|
||||
top: 2px;
|
||||
margin-right: 15px;
|
||||
top: 17px;
|
||||
}
|
||||
|
||||
.active {
|
||||
|
|
|
@ -16,11 +16,12 @@
|
|||
<% repositories.each do |repository| %>
|
||||
<li class="branch <%= 'active parent_li' if current_page?(repository_path(repository)) %>" >
|
||||
<span class="tree-link no-indent" title="<%= repository.name %>">
|
||||
<%= link_to repository.name,
|
||||
repository_path(repository),
|
||||
<%= link_to repository_path(repository),
|
||||
class: current_page?(repository_path(repository)) ? 'disabled line-wrap' : 'line-wrap',
|
||||
data: { 'no-turbolink' => 'true', type: 'repository', id: repository.id } %>
|
||||
<%= inventory_shared_status_icon(repository, current_team) %>
|
||||
data: { 'no-turbolink' => 'true', type: 'repository', id: repository.id } do %>
|
||||
<%= repository.name %>
|
||||
<%= inventory_shared_status_icon(repository, current_team) %>
|
||||
<% end %>
|
||||
</span>
|
||||
</li>
|
||||
<% end %>
|
||||
|
|
Loading…
Reference in a new issue