Merge pull request #2433 from aignatov-bio/ai-sci-4390-change-new-inventory-button-design

Change button style for new inventory [SCI-4390]
This commit is contained in:
aignatov-bio 2020-02-28 13:54:07 +01:00 committed by GitHub
commit 4aaeb2043f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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>