mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-12-10 06:06:24 +08:00
Fix icon position and hover efect in repositories sidebar
This commit is contained in:
parent
027e6d3db0
commit
73e5168db6
2 changed files with 7 additions and 6 deletions
|
|
@ -123,8 +123,8 @@
|
||||||
|
|
||||||
.fas-custom {
|
.fas-custom {
|
||||||
float: right;
|
float: right;
|
||||||
margin-right: 5px;
|
margin-right: 15px;
|
||||||
top: 2px;
|
top: 17px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.active {
|
.active {
|
||||||
|
|
|
||||||
|
|
@ -16,11 +16,12 @@
|
||||||
<% repositories.each do |repository| %>
|
<% repositories.each do |repository| %>
|
||||||
<li class="branch <%= 'active parent_li' if current_page?(repository_path(repository)) %>" >
|
<li class="branch <%= 'active parent_li' if current_page?(repository_path(repository)) %>" >
|
||||||
<span class="tree-link no-indent" title="<%= repository.name %>">
|
<span class="tree-link no-indent" title="<%= repository.name %>">
|
||||||
<%= link_to repository.name,
|
<%= link_to repository_path(repository),
|
||||||
repository_path(repository),
|
|
||||||
class: current_page?(repository_path(repository)) ? 'disabled line-wrap' : 'line-wrap',
|
class: current_page?(repository_path(repository)) ? 'disabled line-wrap' : 'line-wrap',
|
||||||
data: { 'no-turbolink' => 'true', type: 'repository', id: repository.id } %>
|
data: { 'no-turbolink' => 'true', type: 'repository', id: repository.id } do %>
|
||||||
<%= inventory_shared_status_icon(repository, current_team) %>
|
<%= repository.name %>
|
||||||
|
<%= inventory_shared_status_icon(repository, current_team) %>
|
||||||
|
<% end %>
|
||||||
</span>
|
</span>
|
||||||
</li>
|
</li>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue