Change button style for new inventory

This commit is contained in:
aignatov-bio 2020-02-27 12:11:38 +01:00
parent bf1fac0b10
commit 630412c18a
2 changed files with 7 additions and 3 deletions

View file

@ -87,7 +87,11 @@
.tree-link {
display: flex;
a:not(.canvas-center-on) {
.btn-secondary {
background: transparent;
}
a:not(.canvas-center-on, .btn) {
width: 100%;
}

View file

@ -5,9 +5,9 @@
<% if can_create_repositories?(current_team) %>
<li>
<span class="tree-link no-indent">
<a class="sidebar-button create-new-repository" data-remote="true"
<a class="btn btn-secondary create-new-repository" data-remote="true"
href="<%= create_modal_team_repositories_path(current_team) %>">
<span class="fas fa-plus"></span>
<i class="fas fa-plus"></i>
<%= t('libraries.index.no_libraries.create_new_button') %>
</a>
</span>