mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-11 01:44:34 +08:00
Change button style for new inventory
This commit is contained in:
parent
bf1fac0b10
commit
630412c18a
2 changed files with 7 additions and 3 deletions
|
@ -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%;
|
||||
}
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue